Subject: CGAL users discussion list
List archive
- From: Michael Balzer <>
- To:
- Subject: Bug in Polygon_2 or manual incomplete?
- Date: Wed, 01 Aug 2007 11:29:08 +0200
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:user-agent:mime-version:to:subject:content-type:content-transfer-encoding; b=DTPN2ssriOVuIYvwP6nYqsIEKL59J7OezdM9mhCKU2Jcl3zyvTtXqnS7KjdK2zD+yv6vBeL8jGNPnw5eU8bQfJ21W1Qv1Jt6SmkiV6D9yQ7Xo+/msYtGlfq9re1YtD1gP6D0g/C5rLsYgYt5deFyI7VDlaqKM62Y9W6uQzCOGpk=
Hi,
I think I've discovered a minor bug in Polygon_2, or the manual is incomplete:
The precondition (according to the manual) for the functions orientation() and oriented_side(...) is that is_simple() is true.
For an empty polygon, is_simple() is true, but when calling orientation() or oriented_side(...) the program crashes.
Michael
- Bug in Polygon_2 or manual incomplete?, Michael Balzer, 08/01/2007
Archive powered by MHonArc 2.6.16.