Menu

#109 Geom: chop(Shape, Point) broken

open
nobody
None
5
2011-10-26
2011-10-26
Anonymous
No

The line:
int type = i.currentSegment(coords);
has been removed in revision 713 from the Geom class (was considered a dead variable). The variable was not used but the call to currentSegment() was also performing initialization on 'coords'. The line should be restored:
i.currentSegment(coords);

The bug causes the connections' intersection point to be wrong with some figures (like the TriangleFigure).

Discussion


Log in to post a comment.

MongoDB Logo MongoDB