From fdc80c4f9717b04030b128aea4892d4e28c3eefc Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Mon, 3 Feb 2014 14:38:04 +0100 Subject: [PATCH] Add stability annotation to ol.geom.Circle --- src/ol/geom/circle.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ol/geom/circle.js b/src/ol/geom/circle.js index aeb9f69827..57d8b9beb3 100644 --- a/src/ol/geom/circle.js +++ b/src/ol/geom/circle.js @@ -14,6 +14,7 @@ goog.require('ol.geom.flat'); * @param {ol.geom.RawPoint} center Center. * @param {number=} opt_radius Radius. * @param {ol.geom.GeometryLayout=} opt_layout Layout. + * @todo stability experimental */ ol.geom.Circle = function(center, opt_radius, opt_layout) { goog.base(this); @@ -78,6 +79,7 @@ ol.geom.Circle.prototype.containsXY = function(x, y) { /** * @return {ol.geom.RawPoint} Center. + * @todo stability experimental */ ol.geom.Circle.prototype.getCenter = function() { return this.flatCoordinates.slice(0, this.stride); @@ -104,6 +106,7 @@ ol.geom.Circle.prototype.getExtent = function(opt_extent) { /** * @return {number} Radius. + * @todo stability experimental */ ol.geom.Circle.prototype.getRadius = function() { var dx = this.flatCoordinates[this.stride] - this.flatCoordinates[0]; @@ -130,6 +133,7 @@ ol.geom.Circle.prototype.getType = function() { /** * @param {ol.geom.RawPoint} center Center. + * @todo stability experimental */ ol.geom.Circle.prototype.setCenter = function(center) { var stride = this.stride; @@ -149,6 +153,7 @@ ol.geom.Circle.prototype.setCenter = function(center) { * @param {ol.geom.RawPoint} center Center. * @param {number} radius Radius. * @param {ol.geom.GeometryLayout=} opt_layout Layout. + * @todo stability experimental */ ol.geom.Circle.prototype.setCenterAndRadius = function(center, radius, opt_layout) { @@ -187,6 +192,7 @@ ol.geom.Circle.prototype.setFlatCoordinates = /** * @param {number} radius Radius. + * @todo stability experimental */ ol.geom.Circle.prototype.setRadius = function(radius) { goog.asserts.assert(!goog.isNull(this.flatCoordinates));