Rename ol.extent.segmentIntersects to intersectsSegment
This commit is contained in:
@@ -774,7 +774,7 @@ ol.extent.scaleFromCenter = function(extent, value) {
|
||||
* @param {ol.Coordinate} end Segment end coordinate.
|
||||
* @return {boolean} The segment intersects the extent.
|
||||
*/
|
||||
ol.extent.segmentIntersects = function(extent, start, end) {
|
||||
ol.extent.intersectsSegment = function(extent, start, end) {
|
||||
var intersects = false;
|
||||
var startRel = ol.extent.coordinateRelationship(extent, start);
|
||||
var endRel = ol.extent.coordinateRelationship(extent, end);
|
||||
|
||||
Reference in New Issue
Block a user