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:192019-11-17 23:31
Reporterssv 
Assigned Tomsv 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformWindowsOSVC++ 2013OS Version64 bit
Product Version 
Target Version[OCCT] 7.5.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.

- 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


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker