[OpenLayers-Trac] [OpenLayers] #1245: intersects code suffers due to floating point errors
OpenLayers
trac at openlayers.org
Thu Jan 3 19:10:49 EST 2008
#1245: intersects code suffers due to floating point errors
------------------------+---------------------------------------------------
Reporter: crschmidt | Owner: tschaub
Type: feature | Status: new
Priority: minor | Milestone: 2.6 Release
Component: Geometry | Version: 2.5
Resolution: | Keywords:
State: |
------------------------+---------------------------------------------------
Comment (by tschaub):
if(cx < Math.min(x1, x2) || cx > Math.max(x1, x2)) and the next bit about
>= don't leave room matching big numbers. grrr
--
Ticket URL: <http://trac.openlayers.org/ticket/1245#comment:1>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer
More information about the Trac
mailing list