brepjs API Reference
    Preparing search index...

    Function drawPointsInterpolation

    • Creates the Drawing by interpolating points as a curve

      The drawing will be a spline approximating the points. Note that the degree should be at maximum 3 if you need to export the drawing as an SVG.

      Parameters

      • points: Point2D[]
      • approximationConfig: BSplineApproximationOptions = {}
      • options: { closeShape?: boolean } = {}

      Returns Drawing