Class: Disp3D::NodeArrows

Inherits:
NodeLeaf show all
Defined in:
lib/node/node_arrows.rb

Instance Attribute Summary

Attributes inherited from Node

#instance_id, #name, #parents

Instance Method Summary collapse

Methods inherited from NodeLeaf

#box, #draw, #update_for_display

Methods inherited from Node

#ancestors, #post_draw, #pre_draw

Constructor Details

#initialize(geom, name = nil) ⇒ NodeArrows

Returns a new instance of NodeArrows.



7
8
9
10
11
12
# File 'lib/node/node_arrows.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