Class: Geom::BoundingBox
Instance Method Summary (collapse)
- - (Object) add
-
- (Geom::Point3d) center
The center point of the BoundingBox.
- - (Object) clear
- - (Boolean) contains?
-
- (Geom::Point3d) corner(n)
Returns the location of the BoundingBox corner at n.
- - (Object) depth
- - (Object) diagonal
- - (Boolean) empty?
- - (Object) height
- - (Object) intersect
- - (Object) max
- - (Object) min
- - (Object) new
- - (Boolean) valid?
- - (Object) width
Instance Method Details
- (Object) add
3 4 |
# File 'lib/boundingbox.rb', line 3 def add end |
- (Geom::Point3d) center
The center point of the BoundingBox
7 8 |
# File 'lib/boundingbox.rb', line 7 def center end |
- (Object) clear
9 10 |
# File 'lib/boundingbox.rb', line 9 def clear end |
- (Boolean) contains?
11 12 |
# File 'lib/boundingbox.rb', line 11 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)
27 28 |
# File 'lib/boundingbox.rb', line 27 def corner(n) end |
- (Object) depth
30 31 |
# File 'lib/boundingbox.rb', line 30 def depth end |
- (Object) diagonal
32 33 |
# File 'lib/boundingbox.rb', line 32 def diagonal end |
- (Boolean) empty?
34 35 |
# File 'lib/boundingbox.rb', line 34 def empty? end |
- (Object) height
36 37 |
# File 'lib/boundingbox.rb', line 36 def height end |
- (Object) intersect
38 39 |
# File 'lib/boundingbox.rb', line 38 def intersect end |
- (Object) max
40 41 |
# File 'lib/boundingbox.rb', line 40 def max end |
- (Object) min
42 43 |
# File 'lib/boundingbox.rb', line 42 def min end |
- (Object) new
44 45 |
# File 'lib/boundingbox.rb', line 44 def new end |
- (Boolean) valid?
46 47 |
# File 'lib/boundingbox.rb', line 46 def valid? end |
- (Object) width
48 49 |
# File 'lib/boundingbox.rb', line 48 def width end |