Use @api annotations where geom methods are implemented
This commit is contained in:
@@ -96,7 +96,6 @@ goog.inherits(ol.geom.Geometry, ol.Object);
|
|||||||
* Make a complete copy of the geometry.
|
* Make a complete copy of the geometry.
|
||||||
* @function
|
* @function
|
||||||
* @return {!ol.geom.Geometry} Clone.
|
* @return {!ol.geom.Geometry} Clone.
|
||||||
* @api stable
|
|
||||||
*/
|
*/
|
||||||
ol.geom.Geometry.prototype.clone = goog.abstractMethod;
|
ol.geom.Geometry.prototype.clone = goog.abstractMethod;
|
||||||
|
|
||||||
@@ -180,7 +179,6 @@ ol.geom.Geometry.prototype.getSimplifiedGeometry = goog.abstractMethod;
|
|||||||
* Get the type of this geometry.
|
* Get the type of this geometry.
|
||||||
* @function
|
* @function
|
||||||
* @return {ol.geom.GeometryType} Geometry type.
|
* @return {ol.geom.GeometryType} Geometry type.
|
||||||
* @api stable
|
|
||||||
*/
|
*/
|
||||||
ol.geom.Geometry.prototype.getType = goog.abstractMethod;
|
ol.geom.Geometry.prototype.getType = goog.abstractMethod;
|
||||||
|
|
||||||
@@ -192,7 +190,6 @@ ol.geom.Geometry.prototype.getType = goog.abstractMethod;
|
|||||||
* then use this function on the clone.
|
* then use this function on the clone.
|
||||||
* @function
|
* @function
|
||||||
* @param {ol.TransformFunction} transformFn Transform.
|
* @param {ol.TransformFunction} transformFn Transform.
|
||||||
* @api stable
|
|
||||||
*/
|
*/
|
||||||
ol.geom.Geometry.prototype.applyTransform = goog.abstractMethod;
|
ol.geom.Geometry.prototype.applyTransform = goog.abstractMethod;
|
||||||
|
|
||||||
@@ -202,7 +199,6 @@ ol.geom.Geometry.prototype.applyTransform = goog.abstractMethod;
|
|||||||
* @param {ol.Extent} extent Extent.
|
* @param {ol.Extent} extent Extent.
|
||||||
* @return {boolean} `true` if the geometry and the extent intersect.
|
* @return {boolean} `true` if the geometry and the extent intersect.
|
||||||
* @function
|
* @function
|
||||||
* @api stable
|
|
||||||
*/
|
*/
|
||||||
ol.geom.Geometry.prototype.intersectsExtent = goog.abstractMethod;
|
ol.geom.Geometry.prototype.intersectsExtent = goog.abstractMethod;
|
||||||
|
|
||||||
@@ -213,7 +209,6 @@ ol.geom.Geometry.prototype.intersectsExtent = goog.abstractMethod;
|
|||||||
* @param {number} deltaX Delta X.
|
* @param {number} deltaX Delta X.
|
||||||
* @param {number} deltaY Delta Y.
|
* @param {number} deltaY Delta Y.
|
||||||
* @function
|
* @function
|
||||||
* @api stable
|
|
||||||
*/
|
*/
|
||||||
ol.geom.Geometry.prototype.translate = goog.abstractMethod;
|
ol.geom.Geometry.prototype.translate = goog.abstractMethod;
|
||||||
|
|
||||||
@@ -231,7 +226,6 @@ ol.geom.Geometry.prototype.translate = goog.abstractMethod;
|
|||||||
* string identifier or a {@link ol.proj.Projection} object.
|
* string identifier or a {@link ol.proj.Projection} object.
|
||||||
* @return {ol.geom.Geometry} This geometry. Note that original geometry is
|
* @return {ol.geom.Geometry} This geometry. Note that original geometry is
|
||||||
* modified in place.
|
* modified in place.
|
||||||
* @api stable
|
|
||||||
*/
|
*/
|
||||||
ol.geom.Geometry.prototype.transform = function(source, destination) {
|
ol.geom.Geometry.prototype.transform = function(source, destination) {
|
||||||
this.applyTransform(ol.proj.getTransform(source, destination));
|
this.applyTransform(ol.proj.getTransform(source, destination));
|
||||||
|
|||||||
Reference in New Issue
Block a user