DiscussionsIssue archiveOCCT:Modeling Algorithms

Archived issue #0000525

Bug in GeomPlate_BuildPlateSurface::ComputeSurfInit()

CommunityOCCT:Modeling Algorithmsclosed0 public notes

Search issues

Description

This bug has bees added by Author at
http://www.opencascade.org/forumorg/bug.php?bug_id=61&f=8.

The following line (#1331) raise an exception:
myInitOrder = new TColStd_HArray1OfInteger(1,NTLinCont);
That's because NTLinCont is equal to 0. So I suggest maybe something like this:
  if (NTLinCont>0)
myInitOrder = new TColStd_HArray1OfInteger(1,NTLinCont);

Public activity

No public notes

Participants are labeled by their role within this record.