View Issue Details

IDProjectCategoryView StatusLast Update
0013962Open CASCADEOCCT:Modeling Algorithmspublic2012-01-13 15:27
ReporterabvAssigned Togka 
PrioritynormalSeveritytrivial 
Status closedResolutionfixed 
OSAll 
Fixed in Version6.2.0 
Summary0013962: Exception when drawing face without pcurves
DescriptionThis bug has been detected while testing OCC13258 (see history, regression
report 2006-10-16).

Though the fix was attached also to OCC13258, thereby it is recorded as
separate bug to facilitate its integration.

The reason of the bug is that BRepTools::AddUVBounds() does not check the case
when face has no pcurves; in that case returned Bnd_Box2d may be void. In turn,
void Bnd_Box2d allows getting its values and returns non-initialized real
values. Using these values may lead to exception according to a case.
Additional information
and documentation updates
Documentation remark, added by ABV 2006-11-22 16:48:34:

Changes:
- Methods Get() of Bnd_Box and Bnd_Box2d now raises exception if box is void

- BRepTools::AddUVBounds() adds natural bounds of the surface if face has
no edges or no pcurves
TagsNo tags attached.
Test case number

Attached Files

  • occ13962-abv-v1.tar.gz (13,186 bytes)
  • occ13962-abv-v2.tar.gz (16,639 bytes)
  • AddFix_290107.tar.gz (3,395 bytes)

Relationships

related to 0013258 closedpdn Improvements in FDC (64-bit warnings, etc.) 

Activities

2006-11-21 14:52

 

occ13962-abv-v1.tar.gz (13,186 bytes)

2006-11-21 15:43

 

occ13962-abv-v2.tar.gz (16,639 bytes)

2007-01-29 14:13

 

AddFix_290107.tar.gz (3,395 bytes)

Issue History

Date Modified Username Field Change
2006-11-21 16:53 abv BugsThisDependsOn => 13258
2006-11-22 18:34 bugmaster Assigned To bugmaster => abv
2006-11-22 18:34 bugmaster Status new => assigned
2006-11-22 18:44 abv Status assigned => resolved
2007-01-11 17:23 mkv Status resolved => assigned
2007-01-11 17:24 abv Assigned To abv => gka
2007-02-02 12:01 bugmaster Status assigned => tested
2007-04-03 18:43 bugmaster Status tested => closed
2007-04-03 18:43 bugmaster Resolution @0@ => fixed
2011-08-02 11:31 bugmaster Category OCCT:MOA => OCCT:Modeling Algorithms
2012-01-13 15:27 atp Description Updated
2012-01-13 15:27 atp Additional Information Updated