[OpenLayers-Trac] Re: [OpenLayers] #2492: miscalculation in OpenLayers.Geometry.LinearRing.containsPoint()

OpenLayers trac-20090302 at openlayers.org
Mon Jan 16 19:26:32 EST 2012


#2492: miscalculation in OpenLayers.Geometry.LinearRing.containsPoint()
---------------------------------+------------------------------------------
 Reporter:  rayd                 |       Owner:  tschaub     
     Type:  bug                  |      Status:  new         
 Priority:  minor                |   Milestone:  2.12 Release
Component:  Geometry.LinearRing  |     Version:  2.8         
 Keywords:                       |       State:              
---------------------------------+------------------------------------------

Comment(by tschaub):

 Thanks for addressing this.  Note that the two methods are mathematically
 equivalent.  The previous method was just suffering from a greater loss of
 precision using coordinate values with many significant figures.  I've
 updated the [https://github.com/openlayers/openlayers/pull/146 pull
 request] - this should be good to merge now.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/2492#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list