Bitbybit Docs
    Preparing search index...

    Class RebuildCurveDegreeDto<T>

    Rebuild (relax/raise) the polynomial degree of a wire or edge curve.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionaldegree: number
      • Optionaltolerance: number

      Returns RebuildCurveDegreeDto<T>

    Properties

    shape: T

    Wire or edge whose curve degree is rebuilt.

    undefined
    
    degree: number

    Target maximum degree. Lowering relaxes the curve to a smoother, lower-order approximation (within tolerance); raising is exact. The practical lower bound is 3 (cubic).

    3
    

    1

    Infinity

    1

    tolerance: number

    Tolerance used when relaxing (approximating) to a lower degree.

    0.0001
    

    0

    Infinity

    0.0001