Class: Geom::OrientedBounds2d
- Inherits:
-
Object
- Object
- Geom::OrientedBounds2d
- Defined in:
- lib/sketchup-api-stubs/stubs/Geom/OrientedBounds2d.rb
Overview
The OrientedBounds2d class is a bounding box represented by four Point2d objects, upper left, upper right, lower left and lower right positions.
Instance Method Summary collapse
-
#==(other) ⇒ Boolean
The #== method checks to see if the two OrientedBounds2ds are equal.
-
#lower_left ⇒ Geom::Point2d
The #lower_left method returns the Point2d of the lower left corner of the OrientedBounds2d.
-
#lower_right ⇒ Geom::Point2d
The #lower_right method returns the Point2d of the lower right corner of the OrientedBounds2d.
-
#to_a ⇒ Array(Geom::Point2d, Geom::Point2d, Geom::Point2d, Geom::Point2d)
The #to_a method returns an array which contains the Point2d that define the OrientedBounds2d.
-
#upper_left ⇒ Geom::Point2d
The #upper_left method returns the Point2d of the upper left corner of the OrientedBounds2d.
-
#upper_right ⇒ Geom::Point2d
The #upper_right method returns the Point2d of the upper right corner of the OrientedBounds2d.
Instance Method Details
#==(other) ⇒ Boolean
The #== method checks to see if the two Geom::OrientedBounds2ds are equal. This checks whether the point values are the same.
24 25 |
# File 'lib/sketchup-api-stubs/stubs/Geom/OrientedBounds2d.rb', line 24 def ==(other) end |
#lower_left ⇒ Geom::Point2d
The #lower_left method returns the Point2d of the lower left corner of the Geom::OrientedBounds2d.
39 40 |
# File 'lib/sketchup-api-stubs/stubs/Geom/OrientedBounds2d.rb', line 39 def lower_left end |
#lower_right ⇒ Geom::Point2d
The #lower_right method returns the Point2d of the lower right corner of the Geom::OrientedBounds2d.
54 55 |
# File 'lib/sketchup-api-stubs/stubs/Geom/OrientedBounds2d.rb', line 54 def lower_right end |
#to_a ⇒ Array(Geom::Point2d, Geom::Point2d, Geom::Point2d, Geom::Point2d)
The #to_a method returns an array which contains the Point2d that define the Geom::OrientedBounds2d.
69 70 |
# File 'lib/sketchup-api-stubs/stubs/Geom/OrientedBounds2d.rb', line 69 def to_a end |
#upper_left ⇒ Geom::Point2d
The #upper_left method returns the Point2d of the upper left corner of the Geom::OrientedBounds2d.
84 85 |
# File 'lib/sketchup-api-stubs/stubs/Geom/OrientedBounds2d.rb', line 84 def upper_left end |
#upper_right ⇒ Geom::Point2d
The #upper_right method returns the Point2d of the upper right corner of the Geom::OrientedBounds2d.
99 100 |
# File 'lib/sketchup-api-stubs/stubs/Geom/OrientedBounds2d.rb', line 99 def upper_right end |