()
| 132439 | x[0] *= (0, _mathJs.degrees), x[1] *= (0, _mathJs.degrees); |
| 132440 | } |
| 132441 | function circle() { |
| 132442 | var c = center.apply(this, arguments), r = radius.apply(this, arguments) * (0, _mathJs.radians), p = precision.apply(this, arguments) * (0, _mathJs.radians); |
| 132443 | ring = []; |
| 132444 | rotate = (0, _rotationJs.rotateRadians)(-c[0] * (0, _mathJs.radians), -c[1] * (0, _mathJs.radians), 0).invert; |
| 132445 | circleStream(stream, r, p, 1); |
| 132446 | c = { |
| 132447 | type: "Polygon", |
| 132448 | coordinates: [ |
| 132449 | ring |
| 132450 | ] |
| 132451 | }; |
| 132452 | ring = rotate = null; |
| 132453 | return c; |
| 132454 | } |
| 132455 | circle.center = function(_) { |
| 132456 | return arguments.length ? (center = typeof _ === "function" ? _ : (0, _constantJsDefault.default)([ |
| 132457 | +_[0], |
no test coverage detected