lib/geo/BboxExprFactoryWgs84.js
var Class = require('../ext/Class');
var BboxExprFactory = require('./BboxExprFactory');
var GeoExprUtils = require('./GeoExprUtils');
var BboxExprFactoryWgs84 = Class.create(BboxExprFactory, {
initialize: function(xVar, yVar, castNode) {
//this.geoVar = geoVar;
this.xVar = xVar;
this.yVar = yVar;
this.castNode = castNode;
},
createExpr: function(bounds) {
var result = GeoExprUtils.createExprWgs84Intersects(this.xVar, this.yVar, bounds, this.castNode);
return result;
}
});
module.exports = BboxExprFactoryWgs84;