fn flatten_cubic( p0: Point, p1: Point, p2: Point, p3: Point, out: &mut Vec<Segment>, )
3次ベジェ曲線を直線セグメント列に展開する(de Casteljau 法)