Update of /cvsroot/fxruby/FXRuby/rdoc-sources
In directory usw-pr-cvs1:/tmp/cvs-serv11589/rdoc-sources
Added Files:
Tag: release10
FXRange.rb
Log Message:
Deprecated FXRange instance methods empty(), overlap(), contains() and
intersect(); replaced with empty?(), overlaps?(), contains?() and
intersects?().
--- NEW FILE: FXRange.rb ---
module Fox
class FXRange
# Initialize
def initialize(xlo=0.0, xhi=0.0, ylo=0.0, yhi=0.0, zlo=0.0, zhi=0.0) ; end
# Length of side i
def side(i) ; end
# Width of box
def width() ; end
# Height of box
def height() ; end
# Depth of box
def depth() ; end
# Longest side
def longest() ; end
# Shortest side
def shortest() ; end
# Test if empty
def empty?() ; end
# Test if overlap
def overlaps?(box) ; end
# Test if box contains point x,y,z
def contains?(x, y, z) ; end
# Include the given range or point into this range. Valid forms are:
#
# range.include(aRange) -> range
# range.include(x, y, z) -> range
# range.include(vec) -> range
def include(*args) ; end
# Clip domain against another
def clipTo(box) ; end
# Get corners of box. Returns an array of eight points.
def corners() ; end
# Ray intersection test
def intersects?(u, v) ; end
# Get center of box
def center() ; end
# Compute diagonal
def diagonal() ; end
end
end
|