brepjs API Reference
    Preparing search index...

    Interface ApproximateCurveOptions

    Options for BSpline approximation through points.

    interface ApproximateCurveOptions {
        degMax?: number;
        degMin?: number;
        smoothing?: [number, number, number] | null;
        tolerance?: number;
    }
    Index

    Properties

    degMax?: number

    Maximum BSpline degree.

    degMin?: number

    Minimum BSpline degree.

    smoothing?: [number, number, number] | null

    Smoothing weights [weight1, weight2, weight3] or null to disable.

    tolerance?: number

    Maximum deviation from the input points.