segment


graphic primitive

segment
image
See also

segment

segment(x1,y1,x2,y2)

       Writes segment (x1,y1,x2,y2).
Options:
alea(a): reproductible random value a (1 default).
col(r,v,b,a) color (r,v,b,a) (1,1,1,0 default).
dim(d,dd): d = thickness (1 default), dd = arrow size (12 default).
format(0): arrow at (x1,y1).
format(1): arrow at (x2,y2).
format(2): arrow at (x1,y1) and (x2,y2).
rand(r): non reproductible random color, value r (1 default).
transp(t)
: transparency (0 default).

segment image

segment(x1,y1,x2,y2)image(id)

       Writes segment (x1,y1,x2,y2) in image id.

See also:

displ segment
primitive cut
generate segment vol
no segment
normal segment
particle segment vol
yes segment