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