8.1.2 (Poly-)Bézier



  \begin{texgraph}[name=Bezier,export=pgf]
  view(-4,4,-4,5),Marges(0,0,0,0),
  size(7.5), Width:=8,
  A:=-3+4*i, B:=3+i, C:=3-3*i, D:=-3-3*i,
  C1:=4.5*i,C2:=-2*i, C3:=2-i, C4:=-2,
  FillStyle:=full, FillColor:=lightblue,Color:=red,
  Bezier(A,C1,C2,B,jump,C,C3,C4,D,jump,A),
  FillStyle:=none, DotStyle:=cross,
  DotScale:=2,Color:=black,
  LabelDot(A,"$A$","N",1),
  LabelDot(B,"$B$","E",1),
  LabelDot(C,"$C$","SE",1),
  LabelDot(D,"$D$","SO",1),
  LabelDot(C1,"$C_1$","E",1),
  LabelDot(C2,"$C_2$","SO",1),
  LabelDot(C3,"$C_3$","N",1),
  LabelDot(C4,"$C_4$","N",1),
  LineStyle:=userdash,
  DashPattern:=[5,2,0.5,2], Width:=6,
  LineCap:=round,
  Ligne([A,C1,C2,B,jump,C,C3,C4,D],0)
  \end{texgraph}

 PIC



Bezier Command