Navigation

Operators and Keywords

Function List:

C++ API

 s = vrml_arrow (sz, col)     - Arrow pointing in "y" direction

 INPUT :
 -------
 Arguments are optional. NaN's are replaced by default values.
                                                         
 sz = [len, alen, dc, dr] has size 1, 2, 3 or 4, where

   len  : total length                                   <1>
   alen : If positive: length of cone/total length       <1/4>
          If negative: -(length of cone)
   dc   : If positive: diameter of cone base/total len   <1/16>
          If negative: -(diameter of cone) 
   dr   : If positive: diameter of rod/total length      
          If negative: -(diameter of rod) 

 col    : 3 or 3x2 : Color of body and cone              <[0.3 0.4 0.9]>

 OUTPUT :
 --------
 s      : string   : vrml representation of an arrow (a rod and a cone)

Package: vrml