Frederic Junod
8b95602211
Remove unused goog.require
2016-03-07 09:33:15 +01:00
Tim Schaub
0555bb081a
Test indentation
2016-01-11 18:56:09 -08:00
Tim Schaub
90ec289c89
Remove unused sphere.midpoint() method
2015-08-23 11:56:23 -06:00
Tim Schaub
b724ce6c0d
Remove unused sphere.interpolate() method
2015-08-23 11:54:08 -06:00
Tim Schaub
9cccbd0712
Remove unused sphere.maximumLatitude() method
2015-08-23 11:51:00 -06:00
Tim Schaub
3852be0d7e
Remove unused sphere.initialBearing() method
2015-08-23 11:50:00 -06:00
Tim Schaub
daa4781072
Remove unused sphere.equirectangularDistance() method
2015-08-23 11:48:09 -06:00
Tim Schaub
8ec2bcef17
Remove unused sphere.finalBearing() method
2015-08-23 11:46:20 -06:00
Tim Schaub
c74277cae8
Remove unused sphere.cosineDistance() method
2015-08-23 11:43:26 -06:00
Tim Schaub
bc1328528a
Remove unused sphere.crossTrackDistance() method
2015-08-23 11:41:06 -06:00
Bart van den Eijnden
c5c24f209a
Add geodesic option for measure
2015-02-11 13:24:23 +01:00
Tim Schaub
f66ad1253f
Reducing expectations about spherical interpolation precision
...
This avoids test failures in Chrome 34 (see also #1748 and https://code.google.com/p/v8/issues/detail?id=3006 ).
2014-05-02 10:23:03 -06:00
Tom Payne
0b5f0d0c8e
Add ol.Sphere#interpolate
2014-03-18 18:52:44 +01:00
Tom Payne
088a748d70
Remove tests for spherical geometry on poorly defined points
2014-03-18 14:58:39 +01:00
Tim Schaub
bfc42ffa62
More realistic precision for cosine distance results
...
Chris Veness' discussion of using the spherical law of cosines (http://www.movable-type.co.uk/scripts/latlong.html ) suggests it gives well-conditioned results "around 1 metre" in JavaScript (this assumes a sphere with 6,371km radius).
In Chrome 33, Math.pow(Math.cos(Math.PI / 4), 2) yields 0.4999999999999999. When we take the arccosine of twice this, we get something significantly different than zero. Multiplying by 6371 means we can't assert that this is within 1e-9 of zero.
2014-02-24 15:54:17 -07:00
Tim Schaub
ac83bb78f1
More repeated test cases
2014-02-24 15:02:30 -07:00
Tim Schaub
b01e90b942
Removing repeated test cases
2014-02-24 14:59:18 -07:00
Tom Payne
4be8c991f7
Add missing Closure Library requires
2013-04-06 14:28:12 +02:00
Tom Payne
02196c94b5
Redefine ol.Coordinate to be Array.<number>
2013-04-05 12:30:37 +02:00
Tom Payne
6cc4cb33d0
Use more consistent directory structure
2013-03-19 12:03:31 +01:00