[Mapguide-trac] [mapguide-trac] #2257: Bug in MgSpatialUtilityCircularArc::ComputeCenterFromThreePositions()

MapGuide Open Source trac_mapguide at osgeo.org
Mon Apr 8 06:01:53 PDT 2013


#2257: Bug in MgSpatialUtilityCircularArc::ComputeCenterFromThreePositions()
------------------------+---------------------------------------------------
   Reporter:  andymorf  |       Owner:       
       Type:  defect    |      Status:  new  
   Priority:  medium    |   Milestone:       
  Component:  General   |     Version:  2.4.0
   Severity:  critical  |    Keywords:       
External_id:            |  
------------------------+---------------------------------------------------
 Working with Curve-Geometries and and linearizing them for further
 calculations there where several wrong results.
 Investigations lead to conclusion that calculation of Center-Coordinate of
 circle from 3 Points produces wrong results for certain circle arcs.

 The following ArcSegment whithin the attached CurvePolygon-definition is
 not linearized correctly:

  Segment Number: 5
       Start Point:
           Coordinate Dimension: 2
          (742505.210662424,220467.920336341)
       Mid Point:
          Coordinate Dimension: 2
          (742505.209330668,220467.921167299)
       End Point:
          Coordinate Dimension: 2
          (742505.208,220467.922)

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2257>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list