MantisBT
Mantis Bug Tracker Workflow

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0029864Open CASCADE[OCCT] OCCT:Modeling Algorithmspublic2018-06-13 18:092018-06-13 18:21
Reporterkgv 
Assigned Tomsv 
PrioritynormalSeverityminor 
StatusnewResolutionopen 
PlatformOSOS Version
Product Version[OCCT] 5.2.2 
Target Version[OCCT] 7.4.0*Fixed in Version 
Summary0029864: Modeling Algorithms - BRepBndLib::AddClose() returns Empty box for triangulation-only Faces
DescriptionDescription of the method BRepBndLib::AddClose() says:
  //! 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.

It is not very clear in which cases this method could/should be used,
but since current implementation completely ignores TopoDS_Face,
it returns an Empty box for triangulation-only Faces (without Edges/Vertices).

It is suggested either fixing this limitation, or improving description of the method.
Steps To Reproduce
pload VISUALIZATION XDE MODELING QAcommands
readstl m [locate_data_file model_stl_045.stl] triangulation
vclear
vinit View1
vdisplay -dispMode 1 m
vfit
vdisplay -dispMode 3 m
# bug 1: AIS_Shape has empty Bounding Box display mode

pload QAcommands
OCC566 m
# bug 2: ** Exception ** 000001ED562566E0 : Standard_ConstructionError: Bnd_Box is void
TagsNo tags attached.
Test case number
Attached Files

- Relationships
child of 0028125newmsv Modeling Algorithms - support of BRep shapes based on tessellated geometry 

-  Notes
There are no notes attached to this issue.

- Issue History
Date Modified Username Field Change
2018-06-13 18:09 kgv New Issue
2018-06-13 18:09 kgv Assigned To => msv
2018-06-13 18:11 kgv Relationship added child of 0028125
2018-06-13 18:21 kgv Product Version 7.3.0 => 5.2.2


Copyright © 2000 - 2018 MantisBT Team
Powered by Mantis Bugtracker