create MethodStatic

Create a curve with given points.

  • If input is Point2d[], the points are promoted with z=0 and w=1
  • If input is Point3d[], the points are promoted with w=1`

create(data: Point3d[] | Point2d[]): undefined | BezierCurve3d

Parameter Type Description
data Point3d[] | Point2d[]  

Returns - undefined | BezierCurve3d

Defined in

Last Updated: 28 October, 2024