code: function(geometry) {
          var intersect = false;
          if(geometry.CLASS_NAME == "OpenLayers.Geometry.Point") {
              intersect = this.equals(geometry);
          } else {
              intersect = geometry.intersects(this);
          }
          return intersect;
      }
docs: APIMethod: intersects
  Determine if the input geometry intersects this one.
  
  Parameters:
  geometry - {<OpenLayers.Geometry>} Any type of geometry.
  
  Returns:
  {Boolean} The input geometry intersects this one.