brepjs API Reference
    Preparing search index...

    Function drawParametricFunction

    • Creates the Drawing of parametric function

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

      Parameters

      • func: (t: number) => Point2D
      • __namedParameters: { closeShape?: boolean; pointsCount?: number; start?: number; stop?: number } = {}
      • approximationConfig: BSplineApproximationOptions = {}

      Returns Drawing