Class: Geom::BoundingBox

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

Instance Method Summary (collapse)

Instance Method Details

- (Geom::BoundingBox) add(things)



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

def add(things)
end

- (Geom::Point3d) center



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

def center
end

- (Object) clear



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

def clear
end

- (Boolean) contains?



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

def contains?
end

- (Geom::Point3d) corner(n)

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

- (Object) depth



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

def depth
end

- (Object) diagonal



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

def diagonal
end

- (Boolean) empty?



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

def empty?
end

- (Object) height



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

def height
end

- (Object) intersect



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

def intersect
end

- (Object) max



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

def max
end

- (Object) min



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

def min
end

- (Object) new



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

def new
end

- (Boolean) valid?



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

def valid?
end

- (Object) width



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

def width
end