lib/terraformer/circle.rb in terraformer-0.0.8 vs lib/terraformer/circle.rb in terraformer-0.0.9
- old
+ new
@@ -2,10 +2,10 @@
class Circle
extend Forwardable
attr_accessor :polygon
attr_reader :center, :radius, :resolution
- def_delegators :@polygon, :contains?, :within?, :intersects?, :to_feature, :to_json, :to_hash
+ def_delegators :@polygon, :bbox, :contains?, :within?, :intersects?, :to_feature, :to_json, :to_hash
def initialize c, r, res = DEFAULT_BUFFER_RESOLUTION
self.center = c
self.radius = r
self.resolution = res