Removed interfaces package and introduced coord package.
This commit is contained in:
@@ -0,0 +1,58 @@
|
|||||||
|
goog.provide('ol.coord.AccessorInterface');
|
||||||
|
|
||||||
|
goog.require('ol.Projection');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* The AccessorInterface in coord package
|
||||||
|
*
|
||||||
|
* @interface
|
||||||
|
*
|
||||||
|
* @param {number} x X.
|
||||||
|
* @param {number} y Y.
|
||||||
|
* @param {number=} opt_z Z.
|
||||||
|
* @param {ol.Projection=} opt_projection Projection.
|
||||||
|
*/
|
||||||
|
ol.coord.AccessorInterface = function(x, y, opt_z, opt_projection){
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return {number} X.
|
||||||
|
*/
|
||||||
|
ol.coord.AccessorInterface.prototype.getX = function(){};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return {number} Y.
|
||||||
|
*/
|
||||||
|
ol.coord.AccessorInterface.prototype.getY = function(){};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return {number|undefined} Z.
|
||||||
|
*/
|
||||||
|
ol.coord.AccessorInterface.prototype.getZ = function(){};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return {ol.Projection|undefined} Projection.
|
||||||
|
*/
|
||||||
|
ol.coord.AccessorInterface.prototype.getProjection = function() {};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {number} x X.
|
||||||
|
*/
|
||||||
|
ol.coord.AccessorInterface.prototype.setX = function(x){};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {number} y Y.
|
||||||
|
*/
|
||||||
|
ol.coord.AccessorInterface.prototype.setY = function(y){};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {number|undefined} z Z.
|
||||||
|
*/
|
||||||
|
ol.coord.AccessorInterface.prototype.setZ = function(z){};
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @param {ol.Projection} projection Projection.
|
||||||
|
*/
|
||||||
|
ol.coord.AccessorInterface.prototype.setProjection = function(projection) {};
|
||||||
|
|
||||||
@@ -1,48 +0,0 @@
|
|||||||
goog.provide('ol.interfaces.coordinateAccessor');
|
|
||||||
|
|
||||||
/**
|
|
||||||
* The coordinateAccessor interface
|
|
||||||
*
|
|
||||||
* @lends {ol.geom.Point#}
|
|
||||||
* @interface
|
|
||||||
*
|
|
||||||
* @param {number} x X.
|
|
||||||
* @param {number} y Y.
|
|
||||||
* @param {number=} opt_z Z.
|
|
||||||
*/
|
|
||||||
ol.interfaces.coordinateAccessor = function(x, y, opt_z){
|
|
||||||
|
|
||||||
};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return {number} X.
|
|
||||||
*/
|
|
||||||
ol.interfaces.coordinateAccessor.prototype.getX = function(){};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return {number} Y.
|
|
||||||
*/
|
|
||||||
ol.interfaces.coordinateAccessor.prototype.getY = function(){};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @return {number|undefined} Z.
|
|
||||||
*/
|
|
||||||
ol.interfaces.coordinateAccessor.prototype.getZ = function(){};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param {number} x X.
|
|
||||||
* @return {Object} This.
|
|
||||||
*/
|
|
||||||
ol.interfaces.coordinateAccessor.prototype.setX = function(x){};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param {number} y Y.
|
|
||||||
* @return {Object} This.
|
|
||||||
*/
|
|
||||||
ol.interfaces.coordinateAccessor.prototype.setY = function(y){};
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @param {number|undefined} z Z.
|
|
||||||
* @return {Object} This.
|
|
||||||
*/
|
|
||||||
ol.interfaces.coordinateAccessor.prototype.setZ = function(z){};
|
|
||||||
Reference in New Issue
Block a user