Object
The class PLRuby::Box implement the PostgreSQL type box
Convert a String (PostgreSQL representation) to a Box object
# File plruby.rb, line 1313 def from_string(string) end
translate (right, up) self
# File plruby.rb, line 1318 def +(point) end
translate (left, down) self
# File plruby.rb, line 1322 def -(point) end
comparison operator for 2 Box based on the area of the 2 objects, i.e. self.area <=> box.area
# File plruby.rb, line 1339 def <=>(other) end
return true if the 2 boxes self and other are identical
# File plruby.rb, line 1334 def ===(other) end
return true if self is above other
# File plruby.rb, line 1343 def above?(other) end
return true if self is below other
# File plruby.rb, line 1351 def below?(other) end
return the center point of the Box
# File plruby.rb, line 1355 def center end
return true if self contain other
# File plruby.rb, line 1365 def contain?(other) end
return true if self is contained by other
# File plruby.rb, line 1369 def contained?(other) end
return the height of the Box (vertical magnitude)
# File plruby.rb, line 1378 def height end
return true if self is contained by other
# File plruby.rb, line 1382 def in?(other) end
returns the overlapping portion of two boxes, or nil if they do not intersect.
# File plruby.rb, line 1394 def intersection(other) end
return true if self is strictly left of other
# File plruby.rb, line 1408 def left?(other) end
return true if self overlap other
# File plruby.rb, line 1412 def overlap?(other) end
return true if the right edge of self is to the left of the right edge of other
# File plruby.rb, line 1417 def overleft?(other) end
return true if the left edge of self is to the right of the left edge of other
# File plruby.rb, line 1422 def overright?(other) end
return true if self is strictly right of other
# File plruby.rb, line 1426 def right?(other) end
return true if the 2 boxes self and other are identical
# File plruby.rb, line 1430 def same?(other) end
return the width of the Box (horizontal magnitude)
# File plruby.rb, line 1451 def width end
Generated with the Darkfish Rdoc Generator 2.