The class PLRuby::Circle implement the PostgreSQL type circle
Convert a String (PostgreSQL representation) to a Circle
create a Circle object with center and radius
center can be a Point or an Array [x, y]
scale and rotate self
translate (right, up) self
translate (left, down) self
comparison function based on area, i.e. self.area <=> other.area
return true if self is entirely above other
return the area
return true if self is entirely below other
return true if self contain other
return true if self is contained in other
return the diameter
return true if self is strictly left of other
return true if self overlap other
return true if the right edge of self is to the left of the right edge of other
return true if the left edge of self is to the right of the left edge of other
return the radius
return true if self is strictly right of other
return true if self is the same than other, i.e. self.center == other.center && self.radius == other.radius
convert self to a Box
convert self to a Point by returning its center
convert self to a Polygon with npts Points
[Validate]