[mapguide-trac] #931: Last segment in LineBuffer::CircularArcTo may
not exactly end at arc end point
MapGuide Open Source
trac_mapguide at osgeo.org
Thu Mar 26 18:47:37 EDT 2009
#931: Last segment in LineBuffer::CircularArcTo may not exactly end at arc end
point
------------------------------+---------------------------------------------
Reporter: waltweltonlair | Owner: waltweltonlair
Type: defect | Status: new
Priority: medium | Milestone: 2.2
Component: General | Version: 2.1.0
Severity: minor | Keywords:
External_id: 1206094.02 |
------------------------------+---------------------------------------------
The LineBuffer::!CircularArcTo method converts an arc (specified using a
mid point and end point) into a set of line segments in the !LineBuffer.
Due to roundeff error, it's possible for the end point of the final
generated line segment to not exactly match the supplied arc end point.
One scenario where this can cause problems is if the arc segment is the
last one in a closed contour (the arc's end point matches the contour's
start point). The generated end point may not match the start point, and
so the contour does not end up being closed.
--
Ticket URL: <https://trac.osgeo.org/mapguide/ticket/931>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list