MCPcopy Create free account
hub / github.com/microsoft/SandDance / areaPointFirst

Function areaPointFirst

docs/app/js/sanddance-app.js:131899–131904  ·  view source on GitHub ↗
(lambda, phi)

Source from the content-addressed store, hash-verified

131897 areaPoint(lambda00, phi00);
131898}
131899function areaPointFirst(lambda, phi) {
131900 areaStream.point = areaPoint;
131901 lambda00 = lambda, phi00 = phi;
131902 lambda *= (0, _mathJs.radians), phi *= (0, _mathJs.radians);
131903 lambda0 = lambda, cosPhi0 = (0, _mathJs.cos)(phi = phi / 2 + (0, _mathJs.quarterPi)), sinPhi0 = (0, _mathJs.sin)(phi);
131904}
131905function areaPoint(lambda, phi) {
131906 lambda *= (0, _mathJs.radians), phi *= (0, _mathJs.radians);
131907 phi = phi / 2 + (0, _mathJs.quarterPi); // half the angular distance from south pole

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected