(lambda, phi)
| 7312 | } |
| 7313 | |
| 7314 | function centroidLinePointFirst(lambda, phi) { |
| 7315 | lambda *= _math__WEBPACK_IMPORTED_MODULE_0__["radians"], phi *= _math__WEBPACK_IMPORTED_MODULE_0__["radians"]; |
| 7316 | var cosPhi = Object(_math__WEBPACK_IMPORTED_MODULE_0__["cos"])(phi); |
| 7317 | x0 = cosPhi * Object(_math__WEBPACK_IMPORTED_MODULE_0__["cos"])(lambda); |
| 7318 | y0 = cosPhi * Object(_math__WEBPACK_IMPORTED_MODULE_0__["sin"])(lambda); |
| 7319 | z0 = Object(_math__WEBPACK_IMPORTED_MODULE_0__["sin"])(phi); |
| 7320 | centroidStream.point = centroidLinePoint; |
| 7321 | centroidPointCartesian(x0, y0, z0); |
| 7322 | } |
| 7323 | |
| 7324 | function centroidLinePoint(lambda, phi) { |
| 7325 | lambda *= _math__WEBPACK_IMPORTED_MODULE_0__["radians"], phi *= _math__WEBPACK_IMPORTED_MODULE_0__["radians"]; |
nothing calls this directly
no test coverage detected