Changesets: occt

master d30f25e6

2022-04-13 12:54:30

CharlemagneLasse


Committer: afokin Details Diff
0032931: Modeling Algorithms - Crash in ChFi3d_IsInFront when no face was found

The ChFi3d_IsInFront code is currently not handling all the combinations
correctly. For example, if `if(fd1->IndexOfS2() == fd2->IndexOfS2())` is
true, it can happen that the `TopoDS::Face(DStr.Shape(fd1->Index(jf1)))`
returns a Face with entity == NULL. The subsequent usage of this NULL face
in `BRep_Tool::Parameters( Vtx, face )` will then cause a segfault.

While the best approach would be to identify the implementation bug in the
algorithm behind PChFi3d_IsInFron, a check + exception is used instead
because the actual algorithm is not known.

Signed-off-by: Charlemagne Lasse <charlemagnelasse@gmail.com>
Affected Issues
0032931
mod - src/ChFi3d/ChFi3d_Builder_0.cxx Diff File
add - tests/bugs/modalg_8/bug32931 Diff File

master 10a19b2a

2022-04-13 12:54:30

CharlemagneLasse


Committer: afokin Details Diff
0032930: Modeling Algorithms - Crash in PerformIntersectionAtEnd when no face was found

The PerformIntersectionAtEnd code is currently not handling all the faces
correctly. If it retrieves Face[0] as F, it can happen that the previously
ran code didn't actually retrieve any faces in this array at all.

For example when:

* "if (nface==3)" is true
- "if (!findonf1)" is true (doesn't assign any faces to this array)
- "if (!findonf2)" is true (doesn't assign any faces to this array)
- "if (state == ChFiDS_OnSame)" is not true (because it is
ChFiDS_AllSame)
- "if (findonf1 && !isOnSame1)" cannot be true (see above, but would
handle faces)
- "if (findonf2 && !isOnSame2)" cannot be true (see above, but would
handle faces)
- "if (isOnSame2)" is false (but would also handle faces)

Since no faces were assigned here, F would be a NULL face. As result, the
function will crash when trying to access the Surface behind the face via
`BRep_Tool::Surface(F);`.

While the best approach would be to identify the implementation bug in the
algorithm behind PerformIntersectionAtEnd, a check + exception is used
instead because the actual algorithm is not known.

Signed-off-by: Charlemagne Lasse <charlemagnelasse@gmail.com>
Affected Issues
0032930
mod - src/ChFi3d/ChFi3d_Builder_C1.cxx Diff File
add - tests/bugs/modalg_8/bug32930 Diff File

master 24e4b3c8

2022-04-13 12:54:30

CharlemagneLasse


Committer: afokin Details Diff
0032929: Modeling Algorithms - Crash in PerformIntersectionAtEnd after deletion of surfdata

When creating a fillet, num is calculated via ChFi3d_IndexOfSurfData. If it
returns just the number of entries in surfdata, it can happen that this
value becomes invalid when handling the case "two faces common to the edge
are found". When both components are on an arc, there will be num removed
from the surfdata.

num would then be larger than the number of entries surfdata. The derived
num1 is therefore also incorrect. The subsequent usage of this
value will either:

* Debug build: cause an out of bounds exception in ChangeValue
(`SeqFil.ChangeValue(num)`)
* Release build: cause a segfault when retrieving it via index num1
(`SeqFil(num1)`)

num + num1 must be recalculated after the deletion happens to correctly
calculate the fillet.

Signed-off-by: Charlemagne Lasse <charlemagnelasse@gmail.com>
Affected Issues
0032929
mod - src/ChFi3d/ChFi3d_Builder_C1.cxx Diff File
add - tests/bugs/modalg_8/bug32929 Diff File

master 879768fb

2022-04-11 20:00:39

kgv


Committer: smoskvin Details Diff
0032886: Visualization, V3d_View - introduce interface for creating a subview

V3d_View/Graphic3d_CView pair has been extended to define subview within the other V3d_View instance.
The initialization is done in form of V3d_View::SetWindow() taking parent V3d_View instance on input.

Subview definition includes dimensions defined as a fraction of a parent view and offset from a corner.
This scheme allows splitting window into several subviews automatically occupying entire viewport,
like splitting window into two vertial subviews (100%x50% + 100%x50%),
three horizontal subviews (33%x100% + 30%x100% + 30%x100%),
1 + 2 stacked subviews (50%x100% + 50%x50% + 50%x50%),
as well as thumbnail-alike subviews displayed on top of another larger view.

OpenGl_View::Redraw() blits content of subviews into the window within immediate redraw step.

AIS_ViewController::FlushViewEvents() has been extended
to re-calculate mouse input into local subview coordinates.
AIS_ViewController::handleViewRedraw() first redraws subviews and then parent views.
Introduced new callback AIS_ViewController::OnSubviewChanged()
to switch input focus to another subview on mouse click,
implemented by ViewerTest_EventManager (has to be done at application level).

vinit command has been extended with parameters -subview and -parent to create a subview.
In addition, view dimension arguments now can be defined as a fraction of screen size instead of pixels.
Affected Issues
0032886
mod - src/AIS/AIS_ViewController.cxx Diff File
mod - src/AIS/AIS_ViewController.hxx Diff File
mod - src/Aspect/Aspect_Window.hxx Diff File
mod - src/D3DHost/D3DHost_View.cxx Diff File
mod - src/D3DHost/D3DHost_View.hxx Diff File
mod - src/DPrsStd/DPrsStd_AISViewerCommands.cxx Diff File
mod - src/Graphic3d/Graphic3d_CView.cxx Diff File
mod - src/Graphic3d/Graphic3d_CView.hxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver.cxx Diff File
mod - src/OpenGl/OpenGl_GraphicDriver.hxx Diff File
mod - src/OpenGl/OpenGl_View.cxx Diff File
mod - src/OpenGl/OpenGl_View.hxx Diff File
mod - src/OpenGl/OpenGl_Window.cxx Diff File
mod - src/OpenGl/OpenGl_Window.hxx Diff File
mod - src/OpenGl/OpenGl_Window_1.mm Diff File
mod - src/V3d/V3d_View.cxx Diff File
mod - src/V3d/V3d_View.hxx Diff File
mod - src/V3d/V3d_Viewer.cxx Diff File
mod - src/V3d/V3d_Viewer.hxx Diff File
mod - src/ViewerTest/ViewerTest.cxx Diff File
mod - src/ViewerTest/ViewerTest.hxx Diff File
mod - src/ViewerTest/ViewerTest_AutoUpdater.cxx Diff File
mod - src/ViewerTest/ViewerTest_EventManager.cxx Diff File
mod - src/ViewerTest/ViewerTest_EventManager.hxx Diff File
mod - src/ViewerTest/ViewerTest_OpenGlCommands.cxx Diff File
mod - src/ViewerTest/ViewerTest_ViewerCommands.cxx Diff File
mod - src/XDEDRAW/XDEDRAW.cxx Diff File
add - tests/opengl/data/general/multiview1 Diff File
add - tests/opengl/data/general/multiview1ssaa Diff File
add - tests/opengl/data/general/multiview2 Diff File
add - tests/opengl/data/general/multiview3 Diff File
add - tests/opengl/data/general/multiview4 Diff File
add - tests/opengl/data/general/multiview5 Diff File
add - tests/opengl/data/general/multiview6 Diff File

master fc41d3b1

2022-04-10 16:56:46

ifv


Committer: smoskvin Details Diff
0032842: Modeling Data - a regression in conversion of a face to bspline

GeomConvert/GeomConvert_1.cxx - forbid using CheckAndSegment if trim is out of base period when converting
trimmed torus

tests/bugs/moddata_3/bug32842 - test case added
mod - src/GeomConvert/GeomConvert_1.cxx Diff File
add - tests/bugs/moddata_3/bug32842 Diff File

master 08d9c0ae

2022-04-09 15:04:23

kgv


Committer: smoskvin Details Diff
0032926: Coding, StdPrs_ToolTriangulatedShape::Normal() - range of "for" not correspond to the NCollection index which run in "for"

Obsolete method has been removed.
Affected Issues
0032926
mod - dox/upgrade/upgrade.md Diff File
mod - src/StdPrs/StdPrs_ToolTriangulatedShape.cxx Diff File
mod - src/StdPrs/StdPrs_ToolTriangulatedShape.hxx Diff File

master 1caf5fd3

2022-04-08 21:11:59

kgv


Committer: smoskvin Details Diff
0032924: Configuration, CMake - export INTERFACE_INCLUDE_DIRECTORIES within targets

Add 'INCLUDES' property within INSTALL targets.
Affected Issues
0032924
mod - adm/cmake/occt_toolkit.cmake Diff File

master 9b9aac4a

2022-04-08 14:16:01

atereshi


Committer: afokin Details Diff
0032922: Data Exchange, STEP - The torus is stored incorrectly in STEP format

Problem: the complete surface of the torus is not stored correctly in STEP format due to the fact that the edges are not properly ordered.
Change: added a mode for reordering edges in the wire with simultaneous use of 2d and 3d information (ShapeAnalysis_WireOrder). The new mode is used for torus-like surfaces before saving to STEP format.
Result: Torus correctly stored.
Affected Issues
0032922
mod - src/ShapeAnalysis/ShapeAnalysis_Wire.cxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_Wire.hxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_WireOrder.cxx Diff File
mod - src/ShapeAnalysis/ShapeAnalysis_WireOrder.hxx Diff File
mod - src/ShapeFix/ShapeFix_Wire.cxx Diff File
mod - src/ShapeFix/ShapeFix_Wire.hxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeStepWire.cxx Diff File
mod - tests/bugs/step/bug28256 Diff File
add - tests/bugs/step/bug32922 Diff File

master 63fa56bc

2022-04-08 11:03:53

azv


Committer: afokin Details Diff
0032915: Geom2dAPI_InterCurveCurve, The algorithm lost an intersection point.

Get rid of strange code: preliminary check of self-intersections is made on a polygonal representation of a curve, it is able to find possible intersections, but after that it filter out segments neighbor to the pair of non-intersected segments.

Test case de step_4 I1 has been marked BAD, because the self-intersection is treated correctly, but the projection algorithm generates such crooked 2D curve.

Reference data in test cases heal split_angle_advanced ZA5 and ZA6 has been updated, because those shapes have self-intersected edges, which are being detected now.
Affected Issues
0032915
mod - src/IntCurve/IntCurve_IntPolyPolyGen.gxx Diff File
add - tests/bugs/modalg_8/bug32915 Diff File
mod - tests/de/step_4/I1 Diff File
mod - tests/heal/data/advanced/ZA5 Diff File
mod - tests/heal/data/advanced/ZA6 Diff File

master ee6581ad

2022-04-07 14:28:03

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

Use precision depending on radii of participating circles.
Affected Issues
0032874
mod - src/Extrema/Extrema_ExtCC.cxx Diff File
rm - tests/bugs/modalg_7/bug32874 Diff File
add - tests/bugs/modalg_7/bug32874_1 Diff File
add - tests/bugs/modalg_7/bug32874_2 Diff File
add - tests/bugs/modalg_7/bug32874_3 Diff File
add - tests/bugs/modalg_7/bug32874_4 Diff File
add - tests/bugs/modalg_7/bug32874_5 Diff File

master a793b75e

2022-04-06 22:49:01

azv


Committer: smoskvin Details Diff
0032809: Sweep algorithm with Round Corner mode failed

Fix indentation within GeomFill_Sweep.cxx

0032809: Sweep algorithm with Round Corner mode failed

Add fix what repair shipping at corner after circle edge at path
Add fix test for bug 24909_3
Affected Issues
0032809
mod - src/BRepFill/BRepFill_Sweep.cxx Diff File
mod - src/GeomFill/GeomFill_Sweep.cxx Diff File
mod - tests/pipe/bugs/bug24909_3 Diff File
add - tests/pipe/bugs/bug32809 Diff File
add - tests/pipe/bugs/end Diff File

master 1fff4ad5

2022-04-06 11:08:20

mpv


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

# Make the compared values more stable.
Affected Issues
0032870
mod - tests/bugs/caf/bug31918_1 Diff File

master 5078d0d8

2022-04-06 01:26:00

kgv


Committer: smoskvin Details Diff
0032912: Visualization - crash when displaying an OBJ file with missing texture file

Fix NULL dereference within Graphic3d_TextureRoot::convertToCompatible() due to wrong order of checks.
Affected Issues
0032912
mod - src/Graphic3d/Graphic3d_TextureRoot.cxx Diff File

master ad3825f8

2022-04-05 08:55:29

azv


Committer: smoskvin Details Diff
0030160: DBRep_IsoBuilder builds wrong isolines for planar faces

Add test case
Affected Issues
0030160
mod - tests/bugs/grids.list Diff File
add - tests/bugs/modalg_8/bug30160 Diff File

master e3fd3d83

2022-04-04 22:53:18

sshutina


Committer: smoskvin Details Diff
0032861: Visualization - Separate rotate and move the object behavior in AIS_ViewController

Added the flag in Dragging structure that defines perform dragging (ToMove).
Affected Issues
0032861
mod - src/AIS/AIS_MouseGesture.hxx Diff File
mod - src/AIS/AIS_ViewController.cxx Diff File
mod - src/AIS/AIS_ViewController.hxx Diff File
mod - src/AIS/AIS_ViewInputBuffer.hxx Diff File
add - tests/v3d/manipulator/drag_in_2d_view Diff File

master cec41bb9

2022-04-04 18:08:34

snn


Committer: afokin Details Diff
0030024: Data Exchange - STEP, IGES export support of BRep shapes based on tessellated geometry

Support of reading and writing tessellated geometry is added for the following STEP entities:
- triangulated face
- complex triangulated face
- tessellated shell
- tessellated solid
- tessellated shape representation

Models without BRep geometry (mesh formats like STL, OBJ and so on) are supported for writing to STEP.

New parameters are added to enable/disable tessellated geometry reading and writing:
- read.step.tessellated (On/Off/OnNoBRep) (On by default)
- write.step.tessellated (On/Off/OnNoBRep) (OnNoBRep by default)

OnNoBRep - tessellation is read/written only for entities for which there is no BRep representation.

Faces with poly triangulation are written in STEP as triangulated face entities with one coordinates list per face.
Only one poly triangulation per face (returned by BRep_Tool::Triangulation) is written to STEP.
Affected Issues
0030024
mod - dox/user_guides/step/step.md Diff File
mod - src/RWStepAP214/RWStepAP214_GeneralModule.cxx Diff File
mod - src/RWStepAP214/RWStepAP214_ReadWriteModule.cxx Diff File
mod - src/RWStepVisual/FILES Diff File
add - src/RWStepVisual/RWStepVisual_RWComplexTriangulatedFace.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWComplexTriangulatedFace.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWComplexTriangulatedSurfaceSet.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWComplexTriangulatedSurfaceSet.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWCubicBezierTessellatedEdge.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWCubicBezierTessellatedEdge.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWCubicBezierTriangulatedFace.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWCubicBezierTriangulatedFace.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedConnectingEdge.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedConnectingEdge.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedEdge.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedEdge.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedPointSet.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedPointSet.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentation.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentation.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedShapeRepresentationWithAccuracyParameters.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedShell.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedShell.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedSolid.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedSolid.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedStructuredItem.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedStructuredItem.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedVertex.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedVertex.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedWire.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTessellatedWire.hxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTriangulatedFace.cxx Diff File
add - src/RWStepVisual/RWStepVisual_RWTriangulatedFace.hxx Diff File
mod - src/StepAP214/StepAP214_Protocol.cxx Diff File
mod - src/STEPControl/STEPControl_ActorRead.cxx Diff File
mod - src/STEPControl/STEPControl_ActorWrite.cxx Diff File
mod - src/STEPControl/STEPControl_Controller.cxx Diff File
mod - src/StepToTopoDS/FILES Diff File
mod - src/StepToTopoDS/StepToTopoDS_Builder.cxx Diff File
mod - src/StepToTopoDS/StepToTopoDS_Builder.hxx Diff File
mod - src/StepToTopoDS/StepToTopoDS_TranslateFace.cxx Diff File
mod - src/StepToTopoDS/StepToTopoDS_TranslateFace.hxx Diff File
mod - src/StepToTopoDS/StepToTopoDS_TranslateShell.cxx Diff File
mod - src/StepToTopoDS/StepToTopoDS_TranslateShell.hxx Diff File
add - src/StepToTopoDS/StepToTopoDS_TranslateSolid.cxx Diff File
add - src/StepToTopoDS/StepToTopoDS_TranslateSolid.hxx Diff File
add - src/StepToTopoDS/StepToTopoDS_TranslateSolidError.hxx Diff File
mod - src/StepVisual/FILES Diff File
add - src/StepVisual/StepVisual_Array1OfTessellatedEdgeOrVertex.hxx Diff File
add - src/StepVisual/StepVisual_Array1OfTessellatedStructuredItem.hxx Diff File
add - src/StepVisual/StepVisual_ComplexTriangulatedFace.cxx Diff File
add - src/StepVisual/StepVisual_ComplexTriangulatedFace.hxx Diff File
add - src/StepVisual/StepVisual_ComplexTriangulatedSurfaceSet.cxx Diff File
add - src/StepVisual/StepVisual_ComplexTriangulatedSurfaceSet.hxx Diff File
add - src/StepVisual/StepVisual_CubicBezierTessellatedEdge.cxx Diff File
add - src/StepVisual/StepVisual_CubicBezierTessellatedEdge.hxx Diff File
add - src/StepVisual/StepVisual_CubicBezierTriangulatedFace.cxx Diff File
add - src/StepVisual/StepVisual_CubicBezierTriangulatedFace.hxx Diff File
add - src/StepVisual/StepVisual_EdgeOrCurve.cxx Diff File
add - src/StepVisual/StepVisual_EdgeOrCurve.hxx Diff File
add - src/StepVisual/StepVisual_FaceOrSurface.cxx Diff File
add - src/StepVisual/StepVisual_FaceOrSurface.hxx Diff File
add - src/StepVisual/StepVisual_HArray1OfTessellatedEdgeOrVertex.hxx Diff File
add - src/StepVisual/StepVisual_HArray1OfTessellatedStructuredItem.hxx Diff File
add - src/StepVisual/StepVisual_PathOrCompositeCurve.cxx Diff File
add - src/StepVisual/StepVisual_PathOrCompositeCurve.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedConnectingEdge.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedConnectingEdge.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedEdge.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedEdge.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedEdgeOrVertex.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedEdgeOrVertex.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedFace.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedFace.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedPointSet.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedPointSet.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedShapeRepresentation.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedShapeRepresentation.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedShapeRepresentationWithAccuracyParameters.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedShapeRepresentationWithAccuracyParameters.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedShell.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedShell.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedSolid.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedSolid.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedStructuredItem.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedStructuredItem.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedSurfaceSet.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedSurfaceSet.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedVertex.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedVertex.hxx Diff File
add - src/StepVisual/StepVisual_TessellatedWire.cxx Diff File
add - src/StepVisual/StepVisual_TessellatedWire.hxx Diff File
add - src/StepVisual/StepVisual_TriangulatedFace.cxx Diff File
add - src/StepVisual/StepVisual_TriangulatedFace.hxx Diff File
mod - src/TopoDSToStep/FILES Diff File
mod - src/TopoDSToStep/TopoDSToStep_Builder.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_Builder.hxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeBrepWithVoids.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeBrepWithVoids.hxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeFacetedBrep.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeFacetedBrep.hxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeFacetedBrepAndBrepWithVoids.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeFacetedBrepAndBrepWithVoids.hxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeManifoldSolidBrep.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeManifoldSolidBrep.hxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeShellBasedSurfaceModel.cxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeShellBasedSurfaceModel.hxx Diff File
mod - src/TopoDSToStep/TopoDSToStep_MakeStepFace.cxx Diff File
add - src/TopoDSToStep/TopoDSToStep_MakeTessellatedItem.cxx Diff File
add - src/TopoDSToStep/TopoDSToStep_MakeTessellatedItem.hxx Diff File
mod - tests/de_mesh/grids.list Diff File
add - tests/de_mesh/step_read/A1 Diff File
add - tests/de_mesh/step_read/A2 Diff File
add - tests/de_mesh/step_read/A3 Diff File
add - tests/de_mesh/step_read/B1 Diff File
add - tests/de_mesh/step_read/begin Diff File
add - tests/de_mesh/step_read/end Diff File
add - tests/de_mesh/step_write/A1 Diff File
add - tests/de_mesh/step_write/A2 Diff File
add - tests/de_mesh/step_write/A3 Diff File
add - tests/de_mesh/step_write/A4 Diff File
add - tests/de_mesh/step_write/B1 Diff File
add - tests/de_mesh/step_write/B2 Diff File
add - tests/de_mesh/step_write/begin Diff File
add - tests/de_mesh/step_write/C1 Diff File
add - tests/de_mesh/step_write/C2 Diff File
add - tests/de_mesh/step_write/end Diff File

master b2ec2f5d

2022-04-04 10:00:24

mgerus


Committer: smoskvin Details Diff
0031361: Modeling algorithms - An exception arise when building tube

* Add status flag to GeomFill_Pipe
* Add myIsPerform flag to GeomFill_Pipe
* Add checking vectors in GeomFill_CorrectedFrenet
* Add boolean return to SetCurve virtual methods
* Add test case
Affected Issues
0031361
mod - src/GeometryTest/GeometryTest_SurfaceCommands.cxx Diff File
mod - src/GeomFill/GeomFill_ConstantBiNormal.cxx Diff File
mod - src/GeomFill/GeomFill_ConstantBiNormal.hxx Diff File
mod - src/GeomFill/GeomFill_CorrectedFrenet.cxx Diff File
mod - src/GeomFill/GeomFill_CorrectedFrenet.hxx Diff File
mod - src/GeomFill/GeomFill_CurveAndTrihedron.cxx Diff File
mod - src/GeomFill/GeomFill_CurveAndTrihedron.hxx Diff File
mod - src/GeomFill/GeomFill_DiscreteTrihedron.cxx Diff File
mod - src/GeomFill/GeomFill_DiscreteTrihedron.hxx Diff File
mod - src/GeomFill/GeomFill_Frenet.cxx Diff File
mod - src/GeomFill/GeomFill_Frenet.hxx Diff File
mod - src/GeomFill/GeomFill_GuideTrihedronAC.cxx Diff File
mod - src/GeomFill/GeomFill_GuideTrihedronAC.hxx Diff File
mod - src/GeomFill/GeomFill_GuideTrihedronPlan.cxx Diff File
mod - src/GeomFill/GeomFill_GuideTrihedronPlan.hxx Diff File
mod - src/GeomFill/GeomFill_LocationDraft.cxx Diff File
mod - src/GeomFill/GeomFill_LocationDraft.hxx Diff File
mod - src/GeomFill/GeomFill_LocationGuide.cxx Diff File
mod - src/GeomFill/GeomFill_LocationGuide.hxx Diff File
mod - src/GeomFill/GeomFill_LocationLaw.hxx Diff File
mod - src/GeomFill/GeomFill_Pipe.cxx Diff File
mod - src/GeomFill/GeomFill_Pipe.hxx Diff File
mod - src/GeomFill/GeomFill_Pipe.lxx Diff File
mod - src/GeomFill/GeomFill_TrihedronLaw.cxx Diff File
mod - src/GeomFill/GeomFill_TrihedronLaw.hxx Diff File
add - tests/bugs/modalg_7/bug31361 Diff File

master e976df23

2022-04-04 07:29:42

ddzama


Committer: smoskvin Details Diff
0032920: Coding - fix checking of std::stringstream buffer size on VS2019/C++20

Use tellp() instead of in_avail() for testing non-empty std::stringstream state.
Affected Issues
0032920
mod - src/Message/Message_Messenger.hxx Diff File

master 1966e6af

2022-03-31 16:18:19

ddzama


Committer: smoskvin Details Diff
0032919: Coding Rules - suppress useless MSVC warning C26812 on VS2019/C++20 (prefer 'enum class' over 'enum')

CMake and genproj scripts have been updated to suppress this misleading warning that cannot be fixed without breaking existing API.
Affected Issues
0032919
mod - adm/cmake/occt_defs_flags.cmake Diff File
mod - adm/templates/template.vc10 Diff File
mod - adm/templates/template.vc10x Diff File

master e455c54b

2022-03-31 10:46:02

ddzama


Committer: smoskvin Details Diff
0032918: Coding Rules - suppress MSVS warnings from 3rdparty `rapidjson` on VS2019/C++20

Microsoft Visual Studio Professional 2019
Version 16.11.11
std=c++20

Disable warning messages, occures in rapidjson library.
Affected Issues
0032918
mod - src/RWGltf/RWGltf_GltfJsonParser.hxx Diff File
mod - src/RWGltf/RWGltf_GltfOStreamWriter.hxx Diff File

master 7b3f255f

2022-03-31 09:21:08

ddzama


Committer: smoskvin Details Diff
0032917: Coding Rules - eliminate MSVS warning C26440 on VS2019/C++20 (If your function may not throw, declare it noexcept)

Microsoft Visual Studio Professional 2019
Version 16.11.11
std=c++20

Get rid of warning C26440: "If your function may not throw, declare it noexcept"

"If code is not supposed to cause any exceptions,
it should be marked as such by using the 'noexcept' specifier.
This would help to simplify error handling on the client code side,
as well as enable compiler to do additional optimizations."
Affected Issues
0032917
mod - src/NCollection/NCollection_AliasedArray.hxx Diff File
mod - src/Poly/Poly_ArrayOfNodes.hxx Diff File
mod - src/Poly/Poly_ArrayOfUVNodes.hxx Diff File
mod - src/Standard/Standard_Handle.hxx Diff File
mod - src/TCollection/TCollection_AsciiString.hxx Diff File
mod - src/TCollection/TCollection_ExtendedString.hxx Diff File
mod - src/TopLoc/TopLoc_SListOfItemLocation.hxx Diff File

master d31e5dbb

2022-03-31 09:19:35

ddzama


Committer: smoskvin Details Diff
0032916: Coding Rules - eliminate MSVS warning C26451 on VS2019/C++20 (Arithmetic overflow: Using operator '+' on a 4 byte value...)

Microsoft Visual Studio Professional 2019
Version 16.11.11
std=c++20

Get rid of `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
0032916
mod - src/QANCollection/QANCollection_Stl.cxx Diff File

master 878ea8cd

2022-03-31 07:26:39

ddzama


Committer: smoskvin Details Diff
0032910: Coding Rules - fix uninitialized class fields in constructor initialization block reported by VS2019/C++20

Microsoft Visual Studio Professional 2019
Version 16.11.11
std=c++20

Get rid of warnings about uninitialized class fields in constructor initialization block.
Affected Issues
0032910
mod - src/NCollection/NCollection_BaseVector.hxx Diff File
mod - src/SelectMgr/SelectMgr_BVHThreadPool.hxx Diff File

master 2491eec3

2022-03-30 21:38:14

kgv


Committer: smoskvin Details Diff
0032897: Tests - include elapsed time into test log

Added "ELAPSED TIME" to test case log.
Improved syntax of chrono/dchrono command:
added -elapsed, -userCPU, -sysCPU options printing individual values in seconds.

OSD_Chronometer::IsThisThreadOnly() - added missing accessors to the property.
Affected Issues
0032897
mod - src/Draw/Draw_BasicCommands.cxx Diff File
mod - src/Draw/Draw_Chronometer.cxx Diff File
mod - src/Draw/Draw_Chronometer.hxx Diff File
mod - src/DrawResources/TestCommands.tcl Diff File
mod - src/OSD/OSD_Chronometer.cxx Diff File
mod - src/OSD/OSD_Chronometer.hxx Diff File
mod - tests/perf/mesh/bug27626 Diff File
mod - tests/perf/modalg/bug25742_2 Diff File

master 7021de2f

2022-03-30 12:30:01

ddzama


Committer: smoskvin Details Diff
0032909: Coding Rules - replace (removed from C++17) `std::random_shuffle` with `std::shuffle` for random permutation algorithm

Since C++17 the accessible version of permutation function left the function:

template< class RandomIt, class URBG >
void shuffle( RandomIt first, RandomIt last, URBG&& g );

See details and example of use: https://en.cppreference.com/w/cpp/algorithm/random_shuffle
Affected Issues
0032909
mod - src/QANCollection/QANCollection_Stl.cxx Diff File
 First  Prev  1 2 3 ... 9 10 11 12 13 14 15 ... 30 ... 60 ... 90 ... 120 ... 150 ... 180 ... 210 ... 240 ... 254 255 256  Next  Last