Bitbybit Docs
    Preparing search index...

    Class InterpolationDto

    Index

    Constructors

    Properties

    points: Point3[]

    Points through which the BSpline will be created

    undefined
    
    periodic: boolean

    Indicates wether BSpline will be periodic (closed, tangent-continuous at the seam)

    false
    
    tolerance: number

    tolerance

    1e-7
    

    0

    Infinity

    0.00001

    parametrization?: bSplineParametrizationEnum

    Parametrization controlling point spacing along the curve. When omitted, chord-length is used (backward-compatible). Centripetal is recommended for uneven spacing as it resists cusps and overshoot.

    chordLength
    
    startTangent?: Vector3

    Optional tangent direction enforced at the start (non-periodic only).

    undefined
    

    true

    endTangent?: Vector3

    Optional tangent direction enforced at the end (non-periodic only).

    undefined
    

    true

    tangents?: Vector3[]

    Optional per-point tangent directions (one per point); entries that are undefined are left free. When provided, takes precedence over startTangent/endTangent.

    undefined
    

    true