Opened 17 years ago
Last modified 15 years ago
#140 closed defect
Error in contains — at Initial Version
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | main |
Severity: | Significant | Keywords: | imported, phpbugtracker |
Cc: | mloskot |
Description
In Geometry::contains the optimization for rectangles doesn't work when isRectangle()==false and g->isRectangle==true. Indeed the case: if (g->isRectangle()) { return predicate::RectangleContains::contains((const Polygon&)*g, *this); } is wrong and should be eliminated.
Note:
See TracTickets
for help on using tickets.