#931 closed defect (fixed)
Last segment in LineBuffer::CircularArcTo may not exactly end at arc end point
Reported by: | waltweltonlair | Owned by: | waltweltonlair |
---|---|---|---|
Priority: | medium | Milestone: | 2.2 |
Component: | General | Version: | 2.1.0 |
Severity: | minor | Keywords: | |
Cc: | External ID: | 1206094.02 |
Description
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.
Change History (4)
comment:1 by , 16 years ago
Status: | new → assigned |
---|
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:3 by , 16 years ago
An additional trunk stream fix was made with submission https://trac.osgeo.org/mapguide/changeset/3816.
comment:4 by , 16 years ago
Fixed in the 2.1 branch stream with submission https://trac.osgeo.org/mapguide/changeset/3874.
Fixed in the trunk stream with submission https://trac.osgeo.org/mapguide/changeset/3765.