First commit
This commit is contained in:
commit
87d22a4516
235 changed files with 51802 additions and 0 deletions
27
node_modules/proj4/lib/projections/geocent.js
generated
vendored
Normal file
27
node_modules/proj4/lib/projections/geocent.js
generated
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
import {
|
||||
geodeticToGeocentric,
|
||||
geocentricToGeodetic
|
||||
} from '../datumUtils';
|
||||
|
||||
export function init() {
|
||||
this.name = 'geocent';
|
||||
|
||||
}
|
||||
|
||||
export function forward(p) {
|
||||
var point = geodeticToGeocentric(p, this.es, this.a);
|
||||
return point;
|
||||
}
|
||||
|
||||
export function inverse(p) {
|
||||
var point = geocentricToGeodetic(p, this.es, this.a, this.b);
|
||||
return point;
|
||||
}
|
||||
|
||||
export var names = ["Geocentric", 'geocentric', "geocent", "Geocent"];
|
||||
export default {
|
||||
init: init,
|
||||
forward: forward,
|
||||
inverse: inverse,
|
||||
names: names
|
||||
};
|
Loading…
Add table
editor.link_modal.header
Reference in a new issue