Class: Silicium::Geometry3d::Point3d
- Inherits:
-
Struct
- Object
- Struct
- Silicium::Geometry3d::Point3d
- Defined in:
- lib/geometry3d.rb
Overview
Represents a point as three coordinates in three-dimensional space
Instance Attribute Summary collapse
-
#x ⇒ Object
Returns the value of attribute x.
-
#y ⇒ Object
Returns the value of attribute y.
-
#z ⇒ Object
Returns the value of attribute z.
Instance Attribute Details
#x ⇒ Object
Returns the value of attribute x
11 12 13 |
# File 'lib/geometry3d.rb', line 11 def x @x end |
#y ⇒ Object
Returns the value of attribute y
11 12 13 |
# File 'lib/geometry3d.rb', line 11 def y @y end |
#z ⇒ Object
Returns the value of attribute z
11 12 13 |
# File 'lib/geometry3d.rb', line 11 def z @z end |