Opened 17 years ago

Last modified 15 years ago

#140 closed defect

Error in contains — at Initial Version

Reported by: trunfio@… Owned by: strk@…
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.

Change History (0)

Note: See TracTickets for help on using tickets.