Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#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 waltweltonlair, 15 years ago

Status: newassigned

comment:2 by waltweltonlair, 15 years ago

Resolution: fixed
Status: assignedclosed

Fixed in the trunk stream with submission https://trac.osgeo.org/mapguide/changeset/3765.

comment:3 by waltweltonlair, 15 years ago

An additional trunk stream fix was made with submission https://trac.osgeo.org/mapguide/changeset/3816.

comment:4 by waltweltonlair, 15 years ago

Fixed in the 2.1 branch stream with submission https://trac.osgeo.org/mapguide/changeset/3874.

Note: See TracTickets for help on using tickets.