module Indexable::XYZ
Public Instance Methods
x()
click to toggle source
Get x.
# File lib/sixarm_ruby_geometry/indexable/xyz.rb, line 9 def x self[0] end
x=(x)
click to toggle source
Set x.
# File lib/sixarm_ruby_geometry/indexable/xyz.rb, line 14 def x=(x) self[0]=x end
y()
click to toggle source
Get y.
# File lib/sixarm_ruby_geometry/indexable/xyz.rb, line 19 def y self[1] end
y=(y)
click to toggle source
Set y.
# File lib/sixarm_ruby_geometry/indexable/xyz.rb, line 24 def y=(y) self[1]=y end
z()
click to toggle source
Get z.
# File lib/sixarm_ruby_geometry/indexable/xyz.rb, line 29 def z self[2] end
z=(z)
click to toggle source
Set z.
# File lib/sixarm_ruby_geometry/indexable/xyz.rb, line 34 def z=(z) self[2]=z end