Class: Geom::NumberUV
- Inherits:
-
Object
- Object
- Geom::NumberUV
- Defined in:
- lib/geom/number.rb
Instance Attribute Summary collapse
-
#u ⇒ Object
Returns the value of attribute u.
-
#v ⇒ Object
Returns the value of attribute v.
Instance Method Summary collapse
- #clone ⇒ Object
-
#initialize(u = 0, v = 0) ⇒ NumberUV
constructor
A new instance of NumberUV.
Constructor Details
#initialize(u = 0, v = 0) ⇒ NumberUV
Returns a new instance of NumberUV.
102 103 104 105 |
# File 'lib/geom/number.rb', line 102 def initialize(u=0,v=0) @u = u @v = v end |
Instance Attribute Details
#u ⇒ Object
Returns the value of attribute u.
100 101 102 |
# File 'lib/geom/number.rb', line 100 def u @u end |
#v ⇒ Object
Returns the value of attribute v.
100 101 102 |
# File 'lib/geom/number.rb', line 100 def v @v end |