Bitbybit Docs
    Preparing search index...

    Class WiresToPointsDto<T> (Inputs.OCCT)

    用于 shapes.wire.wiresToPoints 的形状和挠度设置,它将形状的每个线框描绘为点。

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • OptionalangularDeflection: number
      • OptionalcurvatureDeflection: number
      • OptionalminimumOfPoints: number
      • OptionaluTolerance: number
      • OptionalminimumLength: number

      Returns WiresToPointsDto<T>

    Properties

    shape: T

    要描绘其线框的形状。

    undefined
    
    angularDeflection: number

    折线在两点之间可以转过的最大角度,以弧度为单位;越小越紧密地贴合曲线。

    0.1
    

    0

    Infinity

    0.01

    curvatureDeflection: number

    折线可以偏离曲线的最大距离,以模型单位表示;越小越紧密地贴合曲线。

    0.1
    

    0

    Infinity

    0.001

    minimumOfPoints: number

    任何边描绘时使用的最少点数,无论多直。

    2
    

    0

    Infinity

    1

    uTolerance: number

    两个参数值需要多接近才算同一个点。

    1.0e-9
    

    0

    Infinity

    1.0e-9

    minimumLength: number

    短于此值(以模型单位表示)的边以最少点数描绘。

    1.0e-7
    

    0

    Infinity

    1.0e-7