BWAPI
|
Go to the source code of this file.
The partition traits class for geodesic arcs on the sphere enables the partition of geodesic polygons to convex polygons. It models the concept YMonotonePartitionTraits_2. This partition of geodesic polygons is garenteed to work only for polygons that are contained in a hemisphere and that do not intersect one of the boundaries. For larger polygons there is a chance that at least one steiner point may have to be added; see manuscript by Prof. Dan Halperin from 2008. PAY ATTENTION TO THE FACT THAT WE REVERSE THE ROLES OF X AND Y SO IT WILL BE EASIER TO IMPLEMENT A MODEL FOR YMonotonePartitionTraits_2 (actually implementing XMonotonePartitionTraits_2)