diff --git a/src/ol/geom/geometry.js b/src/ol/geom/geometry.js index fd78792fcd..90d04778d2 100644 --- a/src/ol/geom/geometry.js +++ b/src/ol/geom/geometry.js @@ -184,6 +184,16 @@ ol.geom.Geometry.prototype.getType = goog.abstractMethod; ol.geom.Geometry.prototype.applyTransform = goog.abstractMethod; +/** + * Test if the geometry and the passed extent intersect. + * @param {ol.Extent} extent Extent. + * @return {boolean} `true` if the geometry and the extent intersect. + * @function + * @api + */ +ol.geom.Geometry.prototype.intersectsExtent = goog.abstractMethod; + + /** * Transform each coordinate of the geometry from one coordinate reference * system to another. The geometry is modified in place.