Bitbybit Docs
    Preparing search index...

    Class InterpolationDto (Inputs.OCCT)

    用于 shapes.wire.interpolatePoints 的点和拟合选项,它绘制经过每个点的平滑曲线。

    Index

    Constructors

    Properties

    points: Point3[]

    曲线依次经过的点。

    undefined
    
    periodic: boolean

    为 true 时,曲线闭合成在接缝处平滑的环。

    false
    
    tolerance: number

    曲线可以偏离各点的距离,以模型单位表示。

    1e-7
    

    0

    Infinity

    0.00001

    parametrization?: bSplineParametrizationEnum

    曲线在点之间的分布方式:默认为弦长,centripetal 可在点分布不均时抵抗尖点和过冲,或 uniform

    chordLength
    
    startTangent?: Vector3

    曲线离开第一个点时必须遵循的方向;仅用于开放曲线。

    undefined
    

    true

    endTangent?: Vector3

    曲线到达最后一个点时必须遵循的方向;仅用于开放曲线。

    undefined
    

    true

    tangents?: Vector3[]

    每个点一个曲线在该处必须遵循的方向,undefined 的项保持自由;给出时,起始和结束切线被忽略。

    undefined
    

    true