filc_to_fil.m
PURPOSE:
convert center/delta description of filament xfilc=[xc,yc,zc,dx,dx,dy]
to end point description of filaments xfil = [x1,y1,z1,x2,y2,z2]
SYNTAX:
xfil= fil_to_filc(xfilc)
INPUT:
xfilc= filament center and delta: 6 column matrix [xc,yc,zc,dx,dy,dz]
OUTPUT:
xfil = filament matrix defined by end points of filament contining 6 columns
[x1,y1,z1,x2,y2,z2] where 1 is start of filament and 2 is end
NOTE: See fil_to_filc for reverse transform
See fil_to_filcdc for output of center, direction cos, & line length