Remove unused ol.Ellipsoid

This commit is contained in:
Tim Schaub
2015-08-23 12:18:45 -06:00
parent d09506f5b1
commit 980dbc121a

View File

@@ -1,42 +0,0 @@
goog.provide('ol.Ellipsoid');
/**
* @constructor
* @param {number} a Major radius.
* @param {number} flattening Flattening.
*/
ol.Ellipsoid = function(a, flattening) {
/**
* @const
* @type {number}
*/
this.a = a;
/**
* @const
* @type {number}
*/
this.flattening = flattening;
/**
* @const
* @type {number}
*/
this.b = this.a * (1 - this.flattening);
/**
* @const
* @type {number}
*/
this.eSquared = 2 * flattening - flattening * flattening;
/**
* @const
* @type {number}
*/
this.e = Math.sqrt(this.eSquared);
};