创建一条平滑的三维 三次贝塞尔曲线, 由起点、终点和两个控制点所定义。
    const curve = new v3d.CubicBezierCurve3(
      new v3d.Vector3(-10, 0, 0),
      new v3d.Vector3(-5, 15, 0),
      new v3d.Vector3(20, 15, 0),
      new v3d.Vector3(10, 0, 0)
    );
    const points = curve.getPoints(50);
    const geometry = new v3d.BufferGeometry().setFromPoints(points);
    const material = new v3d.LineBasicMaterial({ color : 0xff0000 });
    // Create the final object to add to the scene
    const curveObject = new v3d.Line(geometry, material);
    
    
      v0 – 起点
      v1 – 第一个控制点
      v2 – 第二个控制点
      v3 – 终点
    
共有属性请参见其基类Curve。
起点
第一个控制点
第二个控制点
终点
共有方法请参见其基类Curve。