Class: Geom::Transformation2d
- Inherits:
-
Object
- Object
- Geom::Transformation2d
- Defined in:
- SketchUp/Geom/Transformation2d.rb
Overview
Instance Method Summary collapse
-
#==(other) ⇒ Boolean
The #== method checks to see if the two Transformation2ds are equal.
-
#clone ⇒ Geom::Transformation2d
The #clone method creates a copy of the Transformation2d.
-
#identity? ⇒ Boolean
The #identity? method determines if the Transformation2d is the IDENTITY_2D transform.
-
#initialize(*args) ⇒ Transformation2d
constructor
The #initialize method creates a new Transformation2d.
-
#set!(arg) ⇒ Object
The #set! method sets the Transformation2d to match another one.
-
#to_a ⇒ Array<Float>
The #to_a method returns a 6 element array which contains the values that define the Transformation2d.
Constructor Details
#initialize ⇒ Geom::Transformation2d #initialize(array) ⇒ Geom::Transformation2d #initialize(transformation) ⇒ Geom::Transformation2d
The #initialize method creates a new Geom::Transformation2d. You can use this method or one of the more specific methods for creating specific kinds of Geom::Transformation2d.
87 88 |
# File 'SketchUp/Geom/Transformation2d.rb', line 87 def initialize(*args) end |
Instance Method Details
#==(other) ⇒ Boolean
The #== method checks to see if the two Geom::Transformation2ds are equal. This checks whether the values of the transformations are the same.
22 23 |
# File 'SketchUp/Geom/Transformation2d.rb', line 22 def ==(other) end |
#clone ⇒ Geom::Transformation2d
The #clone method creates a copy of the Geom::Transformation2d.
34 35 |
# File 'SketchUp/Geom/Transformation2d.rb', line 34 def clone end |
#identity? ⇒ Boolean
The #identity? method determines if the Geom::Transformation2d is the IDENTITY_2D transform.
60 61 |
# File 'SketchUp/Geom/Transformation2d.rb', line 60 def identity? end |
#set!(transformation) ⇒ Geom::Transformation2d #set!(matrix) ⇒ Geom::Transformation2d
The #set! method sets the Geom::Transformation2d to match another one. The argument is anything that can be converted into a Geom::Transformation2d.
109 110 |
# File 'SketchUp/Geom/Transformation2d.rb', line 109 def set!(arg) end |