First state of a geom package.

This commit is contained in:
Marc Jansen
2012-06-19 18:21:21 +02:00
parent 712070c1f0
commit 450f8f7b74
10 changed files with 384 additions and 1 deletions
+48
View File
@@ -0,0 +1,48 @@
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){};