Class: Disp3D::NodeLines
- Defined in:
- lib/node/node_lines.rb
Instance Attribute Summary
Attributes inherited from Node
Instance Method Summary collapse
-
#initialize(geom, name = nil) ⇒ NodeLines
constructor
A new instance of NodeLines.
Methods inherited from NodeLeaf
#box, #draw, #update_for_display
Methods inherited from Node
#ancestors, #post_draw, #pre_draw
Constructor Details
#initialize(geom, name = nil) ⇒ NodeLines
Returns a new instance of NodeLines.
7 8 9 10 11 12 |
# File 'lib/node/node_lines.rb', line 7 def initialize(geom, name = nil) Util3D.check_arg_type(Symbol, name, true) Util3D.check_arg_type(GMath3D::FiniteLine, geom, false, true) super @width = 1.0 end |