Timestamp:
Jul 9, 2009, 9:45:00 AM (16 years ago)
Author:
Frederik Heber <heber@…>
Children:
12cf763
Parents:
30212a8
Message:

BUGFIX: Memory leak due to special triangles and similar lines in BoundaryPointSet::lines multimap, corrected some output messages, AddTriangleToLines()->AddTriangle()

  • BUGFIX: destructor of BoundaryLineSet erases in the BoundaryPointSet::lines _all_ lines with key endpoints[i]->Nr instead of just the one line we are just removing (note: due to degenerated triangles, there may be more than one line with the same endpoints, the key in LineMap however is just the endpoint number). Now, we do equal_range and check whether the line === this.
  • BoundaryPointSet::AddLine() has more sensible message, stating that line is added to a point not other wat round
  • some identation and automated line wraps fixed
  • AddTriangleToLines() renamed to AddTriangle(), as the triangle to line adding is done in the triangles constructor. Here, we just add the triangle to tesselation class' global list
(No files)

Note: See TracChangeset for help on using the changeset viewer.