View Issue Details

IDProjectCategoryView StatusLast Update
0030519CommunityOCCT:Modeling Algorithmspublic2019-10-03 10:06
Reportergalbramc Assigned Tobugmaster  
PrioritynormalSeveritymajor 
Status closedResolutionno change required 
Product Version7.3.0 
Summary0030519: BRepCheck_Edge fails on degenerate edge
DescriptionConstructing an edge and marking it as degenerated fails BRepCheck_Edge::CheckPolygonOnTriangulation. The edge lacks a curve because it is degenerate, and because it's not attached to a surface, the call to:

  aBC.Initialize(theEdge);

throws an exception. However, I don't see why the check is necessary for a degenerate edge. Simply adding

  if (BRep_Tool::Degenerated(theEdge))
      return BRepCheck_NoError;

to the top of BRepCheck_Edge::CheckPolygonOnTriangulation.
Steps To ReproduceCompile and run the example code.
TagsNo tags attached.
Test case number

Attached Files

  • BRepCheck_Analyzer_Degenerated.tgz (837 bytes)

Activities

galbramc

2019-02-26 00:10

reporter  

BRepCheck_Analyzer_Degenerated.tgz (837 bytes)

galbramc

2019-10-03 02:28

reporter   ~0087727

I realized my flawed understanding of degenerate edges. Could this issue be closed?

msv

2019-10-03 10:04

developer   ~0087732

Dear bugmaster, I think it can be closed.

Issue History

Date Modified Username Field Change
2019-02-26 00:10 galbramc New Issue
2019-02-26 00:10 galbramc Assigned To => msv
2019-02-26 00:10 galbramc File Added: BRepCheck_Analyzer_Degenerated.tgz
2019-10-03 02:28 galbramc Note Added: 0087727
2019-10-03 10:04 msv Note Added: 0087732
2019-10-03 10:04 msv Assigned To msv => bugmaster
2019-10-03 10:04 msv Status new => feedback
2019-10-03 10:04 msv Resolution open => no change required
2019-10-03 10:06 abv Status feedback => closed