Changesets: occt

master 73035770

2022-03-30 11:40:11

ddzama


Committer: smoskvin Details Diff
0032908: Coding Rules - fix E0349 MSVC compilation error on VS2019/C++20

Get rid of raw C strings in error code to avoid error 0349.
Use std::string instead.
Affected Issues
0032908
mod - src/XSDRAW/XSDRAW.cxx Diff File

master 9416ba5f

2022-03-30 10:06:01

ddzama


Committer: smoskvin Details Diff
0032907: Coding Rules - eliminate MSVC warning C5054 on VS2019/C++20 (operator &,|: deprecated between enumerations of different types)

operator `&`,`|`: deprecated between enumerations of different types
Affected Issues
0032907
mod - src/AIS/AIS_ViewController.cxx Diff File
mod - src/HLRAlgo/HLRAlgo_EdgesBlock.hxx Diff File
mod - src/HLRBRep/HLRBRep_FaceData.lxx Diff File
mod - src/Message/Message_ExecStatus.hxx Diff File
mod - src/Standard/Standard_TypeDef.hxx Diff File
mod - src/ViewerTest/ViewerTest_EventManager.cxx Diff File

master 8af9bbd5

2022-03-30 09:24:49

ddzama


Committer: smoskvin Details Diff
0032906: Coding Rules - get rid of std::iterator inheritance (deprecated since C++17) Affected Issues
0032906
mod - src/NCollection/NCollection_StlIterator.hxx Diff File
mod - src/OSD/OSD_Parallel.hxx Diff File

master 1f45f213

2022-03-30 04:28:02

jgv


Committer: smoskvin Details Diff
0032721: Modeling Algorithms - BOP wrong results on a cone and an extrusion

1. Modify method IntPatch_ALineToWLine::MakeWLine: add correction of end points of each line on 2 surfaces if an end point is a pole on a surface.
2. Modify method IntPatch_WLine::ComputeVertexParameters: adjust a point on curve to corresponding vertex the following way: set 3D point as the point of the vertex and 2D points as the points of the point on curve.
mod - src/IntPatch/IntPatch_ALineToWLine.cxx Diff File
mod - src/IntPatch/IntPatch_ALineToWLine.hxx Diff File
mod - src/IntPatch/IntPatch_WLine.cxx Diff File
mod - src/IntSurf/IntSurf_LineOn2S.hxx Diff File
mod - src/IntSurf/IntSurf_LineOn2S.lxx Diff File
mod - tests/bugs/modalg_7/bug29807_b3a Diff File
mod - tests/bugs/modalg_7/bug29807_b5a Diff File
add - tests/bugs/modalg_8/bug32721 Diff File
mod - tests/lowalgos/intss/bug29807_i1002 Diff File
mod - tests/lowalgos/intss/bug29807_i1003 Diff File
mod - tests/lowalgos/intss/bug29807_i1004 Diff File
mod - tests/lowalgos/intss/bug29807_i1005 Diff File
mod - tests/lowalgos/intss/bug29807_i3002 Diff File
mod - tests/lowalgos/intss/bug29807_i3004 Diff File
mod - tests/lowalgos/intss/bug29807_i3005 Diff File

master 3a2ca49b

2022-03-29 17:02:02

ichesnok


Committer: smoskvin Details Diff
0032867: Data Exchange - Implement Draco compression for writing glTF

Draco compression added in RWGltf_CafWriter class.
mod - adm/cmake/draco.cmake Diff File
mod - src/RWGltf/FILES Diff File
mod - src/RWGltf/RWGltf_CafWriter.cxx Diff File
mod - src/RWGltf/RWGltf_CafWriter.hxx Diff File
add - src/RWGltf/RWGltf_DracoParameters.hxx Diff File
mod - src/XSDRAWSTLVRML/XSDRAWSTLVRML.cxx Diff File
add - tests/de_mesh/gltf_write/010 Diff File
add - tests/de_mesh/gltf_write/as1draco Diff File
add - tests/de_mesh/gltf_write/bearing Diff File
add - tests/de_mesh/gltf_write/bull Diff File
add - tests/de_mesh/gltf_write/Diamond Diff File
add - tests/de_mesh/gltf_write/screw Diff File
add - tests/de_mesh/gltf_write/soapbox Diff File
add - tests/de_mesh/gltf_write/test Diff File

master 4e1b5fcb

2022-03-29 16:32:46

ddzama


Committer: smoskvin Details Diff
0032903: Coding Rules - eliminate MSVC warning C26451 on VS2019/C++20

Put explicit type casting to avoid:
Warning C26451 Arithmetic overflow: Using operator '-' on a 4 byte
value and then casting the result to a 8 byte value.
Cast the value to the wider type before calling operator '-' to avoid overflow (io.2).
Affected Issues
0032903
mod - src/AIS/AIS_ViewController.cxx Diff File
mod - src/Graphic3d/Graphic3d_ArrayOfPrimitives.hxx Diff File
mod - src/Message/Message_ProgressScope.hxx Diff File
mod - src/Standard/Standard_Real.hxx Diff File

master e4753a7d

2022-03-24 22:21:06

azv


Committer: smoskvin Details Diff
0032863: Cone surface returns wrong v derivative

* Fix error on computing V first derivative on a cone (take into account the slope of the conical generatrix).
* Add DRAW command 'sderivative' to compute certain derivative on a surface.
Affected Issues
0032863
mod - src/ElSLib/ElSLib.cxx Diff File
mod - src/GeomliteTest/GeomliteTest_SurfaceCommands.cxx Diff File
add - tests/bugs/modalg_7/bug32863 Diff File

master fe12f15c

2022-03-24 17:36:11

AndreyLA


Committer: smoskvin Details Diff
0024657: 2dintersect returns different number of intersect points in curve intersecting the polygon points is never replaced by line

Test for 2d intersection is added
Affected Issues
0024657
add - tests/bugs/modalg_5/bug24657 Diff File

master d7f50721

2022-03-21 16:55:55

ifv


Committer: smoskvin Details Diff
0032882: Modeling Data - Extrema curve/curve cannot find all solutions

Extrema/Extrema_GenExtCC.gxx - estimation of Lipchitz constant is improved
Extrema_GlobOptFuncCC.cxx - function value is changed

LocOpe/LocOpe_WiresOnShape.cxx - small correction to fix regression

lowalgos/extcc/bug32882 - new test case is added

some test were updated according new behavior of extrema algo
mod - src/Extrema/Extrema_GenExtCC.gxx Diff File
mod - src/Extrema/Extrema_GlobOptFuncCC.cxx Diff File
mod - src/IntTools/IntTools_FaceFace.cxx Diff File
mod - src/IntTools/IntTools_WLineTool.cxx Diff File
mod - src/IntTools/IntTools_WLineTool.hxx Diff File
mod - src/LocOpe/LocOpe_WiresOnShape.cxx Diff File
mod - tests/bugs/modalg_5/bug23706_10 Diff File
mod - tests/bugs/modalg_5/bug23706_11 Diff File
mod - tests/bugs/modalg_6/bug27665 Diff File
mod - tests/lowalgos/extcc/bug29858_03 Diff File
add - tests/lowalgos/extcc/bug32882 Diff File

master 9b337ad8

2022-03-18 23:46:44

azv


Committer: smoskvin Details Diff
0032874: IsParallel() method of Extrema_ExtCC does not give same results in OCC 7.6.0 vs OCC 7.5.0

Improve tolerance criteria to check values of extremas for equality: use multiplier, which depends on the value, instead of magic number
Affected Issues
0032874
mod - src/Extrema/Extrema_ExtCC.cxx Diff File
add - tests/bugs/modalg_7/bug32874 Diff File

master 3425e83f

2022-03-17 15:10:01

AndreiLA


Committer: smoskvin Details Diff
0023820: Wrong result of projection algorithm when a polygon geometry is projected on a set of multiple faces

The tests are added to verify the correctness of the projection algorithm's work in two cases.
Affected Issues
0023820
add - tests/bugs/modalg_5/bug23820_1 Diff File
add - tests/bugs/modalg_5/bug23820_2 Diff File

master 5ae6f08c

2022-03-16 13:13:15

knosulko


Committer: smoskvin Details Diff
0024772: Modeling Algorithms - Intersection of cylinder and cone produces incorrect results

GeomInt/GeomInt_IntSS.cxx - handle flat cone case
IntPatch/IntPatch_Intersection.hxx, IntPatch/IntPatch_Intersection.cxx - method for preparing surfaces is added
bugs/lowalgos/intss/bug24772 - test case is changed according new behavior
Affected Issues
0024772
mod - src/Adaptor3d/Adaptor3d_TopolTool.cxx Diff File
mod - src/Adaptor3d/Adaptor3d_TopolTool.hxx Diff File
mod - src/GeomInt/GeomInt_IntSS.cxx Diff File
mod - src/IntPatch/IntPatch_Intersection.cxx Diff File
mod - src/IntPatch/IntPatch_Intersection.hxx Diff File
mod - tests/lowalgos/intss/bug24772 Diff File

master 7573a45d

2022-03-14 18:03:59

mpv


Committer: smoskvin Details Diff
0032870: Tests - bugs/caf/bug31918_1 is unstable

Improved the test stability: created 10 iterations of measurements and take the minimum to
minimize the affect of other processes and threads; increased the compare range of
the quarter and the whole of the document load.
Affected Issues
0032870
mod - tests/bugs/caf/bug31918_1 Diff File

master 802180e1

2022-03-12 22:35:55

jgv


Committer: smoskvin Details Diff
0032719: Modelling Algorithms - UnifySameDomain result has incorrect triangulation

Correct method ShapeUpgrade_UnifySameDomain::UnionPCurves: reparametrize unified pcurves to fit the new range of 3D-curve.
mod - src/ShapeUpgrade/ShapeUpgrade_UnifySameDomain.cxx Diff File
add - tests/bugs/heal/bug32719 Diff File

master e7201578

2022-03-10 11:57:41

mpv


Committer: smoskvin Details Diff
0032442: Application Framework - Problems of testing on MacOS arm64 platform

Fixed the problem of reading XML files on MacOS. 'errno' was not reseted
even the 'strtol' function produced a good value. So, now it is erased
forcibly before the call.
Affected Issues
0032442
mod - src/LDOM/LDOMBasicString.cxx Diff File
mod - src/OSD/OSD_Directory.cxx Diff File

master 8ca58a51

2022-03-07 02:13:22

kgv

Details Diff
0032866: Visualization, TKOpenGles - FitAll() is broken when performance counters are displayed

OpenGl_View::MinMaxValues() - added missing theToIncludeAuxiliary check.
Affected Issues
0032866
mod - src/OpenGl/OpenGl_View.cxx Diff File

master 1f37f1d5

2022-03-03 15:05:23

ifv


Committer: smoskvin Details Diff
0031661: Modeling Data - Exception when projecting parabola or hyperbola to plane

ProjLib/ProjLib_ProjectOnPlane.cxx - formatting

0031661: Modeling Data - Algorithm crashes when projecting parabola or hyperbola to plane

ProjLib/ProjLib_ProjectOnPlane.cxx - building of analytical parabola and hyperbola is added
bugs/moddata_3/bug31661_* - new test cases are added
Affected Issues
0031661
mod - src/ProjLib/ProjLib_ProjectOnPlane.cxx Diff File
mod - src/ProjLib/ProjLib_ProjectOnPlane.hxx Diff File
add - tests/bugs/moddata_3/bug31661_1 Diff File
add - tests/bugs/moddata_3/bug31661_2 Diff File

master 633084b8

2022-03-02 15:21:22

kgv


Committer: smoskvin Details Diff
0032862: Visualization, Graphic3d_TextureMap - add 3D texture definition

Image_PixMap has been extended to support definition of 3D bitmap (as an array of 2D slices).

Graphic3d_TypeOfTexture enumeration values have been renamed to include full enum prefix.
Added Graphic3d_TypeOfTexture_3D redirecting to GL_TEXTURE_3D.
OpenGl_Texture::Init() has been extended to allow initialization of 3D texture.

Graphic3d_Texture2Dmanual merged into Graphic3d_Texture2D and marked as deprecated alias.
Graphic3d_TOT_2D_MIPMAP has been deprecated in favor of dedicated Graphic3d_TextureRoot::SetMipMaps().

Added Graphic3d_Texture3D class.
vtexture - added argument -3d for uploading 3D texture.
Affected Issues
0032862
mod - samples/OCCTOverview/code/Sample2D_Image.cxx Diff File
mod - src/AIS/AIS_TexturedShape.cxx Diff File
mod - src/AIS/AIS_TexturedShape.hxx Diff File
mod - src/AIS/AIS_XRTrackedDevice.cxx Diff File
mod - src/D3DHost/D3DHost_FrameBuffer.cxx Diff File
mod - src/Graphic3d/FILES Diff File
mod - src/Graphic3d/Graphic3d_CubeMap.cxx Diff File
mod - src/Graphic3d/Graphic3d_CubeMap.hxx Diff File
mod - src/Graphic3d/Graphic3d_MediaTexture.cxx Diff File
mod - src/Graphic3d/Graphic3d_Texture1Dmanual.cxx Diff File
mod - src/Graphic3d/Graphic3d_Texture1Dmanual.hxx Diff File
mod - src/Graphic3d/Graphic3d_Texture1Dsegment.cxx Diff File
mod - src/Graphic3d/Graphic3d_Texture2D.cxx Diff File
mod - src/Graphic3d/Graphic3d_Texture2D.hxx Diff File
rm - src/Graphic3d/Graphic3d_Texture2Dmanual.cxx Diff File
mod - src/Graphic3d/Graphic3d_Texture2Dmanual.hxx Diff File
mod - src/Graphic3d/Graphic3d_Texture2Dplane.cxx Diff File
add - src/Graphic3d/Graphic3d_Texture3D.cxx Diff File
add - src/Graphic3d/Graphic3d_Texture3D.hxx Diff File
mod - src/Graphic3d/Graphic3d_TextureEnv.cxx Diff File
mod - src/Graphic3d/Graphic3d_TextureRoot.cxx Diff File
mod - src/Graphic3d/Graphic3d_TextureRoot.hxx Diff File
mod - src/Graphic3d/Graphic3d_TypeOfTexture.hxx Diff File
mod - src/Image/Image_PixMap.cxx Diff File
mod - src/Image/Image_PixMap.hxx Diff File
mod - src/Image/Image_PixMapData.hxx Diff File
mod - src/MeshVS/MeshVS_NodalColorPrsBuilder.cxx Diff File
mod - src/OpenGl/OpenGl_AspectsSprite.cxx Diff File
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - src/OpenGl/OpenGl_Font.cxx Diff File
mod - src/OpenGl/OpenGl_FrameBuffer.cxx Diff File
mod - src/OpenGl/OpenGl_PBREnvironment.cxx Diff File
mod - src/OpenGl/OpenGl_Sampler.cxx Diff File
mod - src/OpenGl/OpenGl_Texture.cxx Diff File
mod - src/OpenGl/OpenGl_Texture.hxx Diff File
mod - src/OpenGl/OpenGl_TileSampler.cxx Diff File
mod - src/OpenGl/OpenGl_View.cxx Diff File
mod - src/OpenGl/OpenGl_View_Raytrace.cxx Diff File
mod - src/QABugs/QABugs_1.cxx Diff File
mod - src/V3d/V3d_View.cxx Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
mod - src/ViewerTest/ViewerTest_OpenGlCommands.cxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
mod - src/XCAFPrs/XCAFPrs_Texture.cxx Diff File
mod - src/XCAFPrs/XCAFPrs_Texture.hxx Diff File
mod - tests/opengl/data/textures/cubemap_jpg Diff File
add - tests/opengl/data/textures/texture_3d Diff File

master a9e5f650

2022-03-02 08:58:10

kgv


Committer: smoskvin Details Diff
0032837: Documentation, Geom_Surface - add references to GeomLib::NormEstim() for Normal computations

References to GeomLib::NormEstim() have been put to Geom_Surface, Adaptor3d_Surface and BRepAdaptor_Surface.
Improved documentation of GeomLib::NormEstim().
Affected Issues
0032837
mod - src/Adaptor3d/Adaptor3d_Surface.hxx Diff File
mod - src/BRepAdaptor/BRepAdaptor_Surface.hxx Diff File
mod - src/Geom/Geom_Surface.hxx Diff File
mod - src/GeomLib/GeomLib.cxx Diff File
mod - src/GeomLib/GeomLib.hxx Diff File

master b5204c6c

2022-03-02 08:18:29

kgv


Committer: smoskvin Details Diff
0032860: Coding Rules, Extrema_GenExtPS - add exported destructor

Added eplicit destructors to classes Extrema_GenExtCS, Extrema_GenExtPS and Extrema_GenExtSS.
Affected Issues
0032860
mod - src/Extrema/Extrema_GenExtCS.cxx Diff File
mod - src/Extrema/Extrema_GenExtCS.hxx Diff File
mod - src/Extrema/Extrema_GenExtPS.cxx Diff File
mod - src/Extrema/Extrema_GenExtPS.hxx Diff File
mod - src/Extrema/Extrema_GenExtSS.cxx Diff File
mod - src/Extrema/Extrema_GenExtSS.hxx Diff File

master b9a372bb

2022-03-01 22:34:31

kgv


Committer: smoskvin Details Diff
0032841: Visualization - add 16-bit grayscale pixel format to Image_PixMap

Added Image_Format_Gray16 pixel format definition, which could be uploaded into GL_R16 texture.
Added Image_Format_GrayF_half mapped to GL_R16F texture.
Affected Issues
0032841
mod - src/Image/Image_AlienPixMap.cxx Diff File
mod - src/Image/Image_Format.hxx Diff File
mod - src/Image/Image_PixMap.cxx Diff File
mod - src/Image/Image_PixMap.hxx Diff File
mod - src/Media/Media_Frame.cxx Diff File
mod - src/OpenGl/OpenGl_Context.cxx Diff File
mod - src/OpenGl/OpenGl_Context.hxx Diff File
mod - src/OpenGl/OpenGl_FrameBuffer.cxx Diff File
mod - src/OpenGl/OpenGl_GlFunctions.cxx Diff File
mod - src/OpenGl/OpenGl_GlTypes.hxx Diff File
mod - src/OpenGl/OpenGl_TextureFormat.cxx Diff File

master 492b09dc

2022-02-28 09:13:31

gelin


Committer: smoskvin Details Diff
0032850: Modeling Algorithms - Surface Surface Intersect Lost one line

IntStart_SearchOnBoundaries.gxx - improving tangent criteria
Affected Issues
0032850
mod - src/IntPatch/IntPatch_ALineToWLine.cxx Diff File
mod - src/IntStart/IntStart_SearchOnBoundaries.gxx Diff File
mod - tests/evolved/voluved/HMC010 Diff File
add - tests/lowalgos/intss/bug32850 Diff File

master b9184c27

2022-02-26 21:52:21

kgv

Details Diff
0032834: Configuration, CMake - DESTDIR ignored for OpenCASCADECompileDefinitionsAndFlags-${CMAKE_INSTALL_CONFIG_NAME_LOWER}.cmake

Replace redundant configure_file() with normal file copy for installing OpenCASCADECompileDefinitionsAndFlags- files.
Affected Issues
0032834
mod - CMakeLists.txt Diff File

master 75e2ba16

2022-02-26 19:29:44

kgv


Committer: smoskvin Details Diff
0032856: Configuration, CMake - SONAME should include minor version in addition to major to reflect ABI compatibility

Added option BUILD_SOVERSION_NUMBERS to manage SOVERSION length.
Default option value is set to 2 (major.minor) instead of previously used 1 (major),
excluding Android/Emscripten/Windows platforms that use 0 by default.
Affected Issues
0032856
mod - adm/cmake/occt_toolkit.cmake Diff File
mod - adm/cmake/vardescr.cmake Diff File
mod - adm/qmake/OccToolkit.pri Diff File
mod - CMakeLists.txt Diff File

master e61aa824

2022-02-23 20:50:40

kgv


Committer: smoskvin Details Diff
0032854: Documentation - minor clean-up of User Guide for XDE module

Applied minor formatting improvements to `xde.md`.
Fixed small misprints and artifacts in text.
Removed redundant section "Working with XDE".
Affected Issues
0032854
mod - dox/user_guides/xde/xde.md Diff File
 First  Prev  1 2 3 ... 10 11 12 13 14 15 16 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 254 255 256  Next  Last