(lambda, phi)
| 113084 | }; // Arithmetic mean of Cartesian vectors. |
| 113085 | |
| 113086 | function centroidPoint(lambda, phi) { |
| 113087 | lambda *= _math.radians, phi *= _math.radians; |
| 113088 | var cosPhi = (0, _math.cos)(phi); |
| 113089 | centroidPointCartesian(cosPhi * (0, _math.cos)(lambda), cosPhi * (0, _math.sin)(lambda), (0, _math.sin)(phi)); |
| 113090 | } |
| 113091 | |
| 113092 | function centroidPointCartesian(x, y, z) { |
| 113093 | ++W0; |
no test coverage detected