Stable geometry methods

This commit is contained in:
Tim Schaub
2015-04-02 13:13:40 +02:00
parent 419483face
commit d79abe7448
2 changed files with 6 additions and 7 deletions

View File

@@ -202,17 +202,18 @@ ol.geom.Geometry.prototype.applyTransform = goog.abstractMethod;
* @param {ol.Extent} extent Extent.
* @return {boolean} `true` if the geometry and the extent intersect.
* @function
* @api
* @api stable
*/
ol.geom.Geometry.prototype.intersectsExtent = goog.abstractMethod;
/**
* Translate the geometry.
* Translate the geometry. This modifies the geometry coordinates in place. If
* instead you want a new geometry, first `clone()` this geometry.
* @param {number} deltaX Delta X.
* @param {number} deltaY Delta Y.
* @function
* @api
* @api stable
*/
ol.geom.Geometry.prototype.translate = goog.abstractMethod;