Don't import ourselves

This commit is contained in:
Frederic Junod
2018-09-06 09:01:46 +02:00
parent ba698258c0
commit ea616e7751
73 changed files with 157 additions and 157 deletions
+5 -5
View File
@@ -111,7 +111,7 @@ class Polygon extends SimpleGeometry {
/**
* Make a complete copy of the geometry.
* @return {!import("./Polygon.js").default} Clone.
* @return {!Polygon} Clone.
* @override
* @api
*/
@@ -342,7 +342,7 @@ export default Polygon;
* polygon. Default is `32`.
* @param {number=} opt_sphereRadius Optional radius for the sphere (defaults to
* the Earth's mean radius using the WGS84 ellipsoid).
* @return {import("./Polygon.js").default} The "circular" polygon.
* @return {Polygon} The "circular" polygon.
* @api
*/
export function circular(center, radius, opt_n, opt_sphereRadius) {
@@ -360,7 +360,7 @@ export function circular(center, radius, opt_n, opt_sphereRadius) {
/**
* Create a polygon from an extent. The layout used is `XY`.
* @param {import("../extent.js").Extent} extent The extent.
* @return {import("./Polygon.js").default} The polygon.
* @return {Polygon} The polygon.
* @api
*/
export function fromExtent(extent) {
@@ -380,7 +380,7 @@ export function fromExtent(extent) {
* @param {number=} opt_sides Number of sides of the polygon. Default is 32.
* @param {number=} opt_angle Start angle for the first vertex of the polygon in
* radians. Default is 0.
* @return {import("./Polygon.js").default} Polygon geometry.
* @return {Polygon} Polygon geometry.
* @api
*/
export function fromCircle(circle, opt_sides, opt_angle) {
@@ -406,7 +406,7 @@ export function fromCircle(circle, opt_sides, opt_angle) {
/**
* Modify the coordinates of a polygon to make it a regular polygon.
* @param {import("./Polygon.js").default} polygon Polygon geometry.
* @param {Polygon} polygon Polygon geometry.
* @param {import("../coordinate.js").Coordinate} center Center of the regular polygon.
* @param {number} radius Radius of the regular polygon.
* @param {number=} opt_angle Start angle for the first vertex of the polygon in