MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0031172Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2019-11-17 23:192020-09-15 15:54
Reporterssv 
Assigned Toszy 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformWindowsOSVC++ 2013OS Version64 bit
Product Version 
Target Version[OCCT] 7.6.0*Fixed in Version 
Summary0031172: Unexpected result of BRepTools::OuterWire()
DescriptionThe attached face contains three wires touching each other at vertices. As a result of BRepTools::OuterWire(), the incorrect wire is returned (the tool returns one of the circles instead of the outer contour).
TagsNo tags attached.
Test case number
Attached Files? file icon test-face.brep (2,916 bytes) 2019-11-17 23:19
png file icon outer-wire-01.png (5,214 bytes) 2019-11-17 23:19

- Relationships

-  Notes
(0089037)
ssv (developer)
2019-11-17 23:31

In BRepTools::OuterWire(), lines 620-623, there is an 'if' statement comparing double values like follows:

if ((umin <= UMin) &&
  (umax >= UMax) &&
  (vmin <= VMin) &&
  (vmax >= VMax)) ...

It is likely a good idea to use at least PConfusion() instead of naive equality checks which do not work for the provided test case.
(0094852)
msv (developer)
2020-09-15 15:54

Sergey (SZY), please consider this simple bug for fixing.

- Issue History
Date Modified Username Field Change
2019-11-17 23:19 ssv New Issue
2019-11-17 23:19 ssv Assigned To => msv
2019-11-17 23:19 ssv File Added: test-face.brep
2019-11-17 23:19 ssv File Added: outer-wire-01.png
2019-11-17 23:31 ssv Note Added: 0089037
2020-09-15 15:54 msv Note Added: 0094852
2020-09-15 15:54 msv Assigned To msv => szy
2020-09-15 15:54 msv Target Version 7.5.0 => 7.6.0*


Copyright © 2000 - 2020 MantisBT Team
Powered by Mantis Bugtracker