Class: Geom::BoundingBox

Inherits:
Object show all
Defined in:
lib/boundingbox.rb

Instance Method Summary collapse

Instance Method Details

#add(things) ⇒ Geom::BoundingBox



4
5
# File 'lib/boundingbox.rb', line 4

def add(things)
end

#centerGeom::Point3d



8
9
# File 'lib/boundingbox.rb', line 8

def center
end

#clearObject



10
11
# File 'lib/boundingbox.rb', line 10

def clear
end

#contains?Boolean



12
13
# File 'lib/boundingbox.rb', line 12

def contains?
end

#corner(n) ⇒ Geom::Point3d

Returns the location of the BoundingBox corner at n

0 = [0, 0, 0] (left front bottom)
1 = [1, 0, 0] (right front bottom)
2 = [0, 1, 0] (left back bottom)
3 = [1, 1, 0] (right back bottom)
4 = [0, 0, 1] (left front top)
5 = [1, 0, 1] (right front top)
6 = [0, 1, 1] (left back top)
7 = [1, 1, 1] (right back top)


28
29
# File 'lib/boundingbox.rb', line 28

def corner(n)
end

#depthObject



31
32
# File 'lib/boundingbox.rb', line 31

def depth
end

#diagonalObject



33
34
# File 'lib/boundingbox.rb', line 33

def diagonal
end

#empty?Boolean



35
36
# File 'lib/boundingbox.rb', line 35

def empty?
end

#heightObject



37
38
# File 'lib/boundingbox.rb', line 37

def height
end

#intersectObject



39
40
# File 'lib/boundingbox.rb', line 39

def intersect
end

#maxObject



41
42
# File 'lib/boundingbox.rb', line 41

def max
end

#minObject



43
44
# File 'lib/boundingbox.rb', line 43

def min
end

#newObject



45
46
# File 'lib/boundingbox.rb', line 45

def new
end

#valid?Boolean



47
48
# File 'lib/boundingbox.rb', line 47

def valid?
end

#widthObject



49
50
# File 'lib/boundingbox.rb', line 49

def width
end