Bitbybit Docs
    Preparing search index...

    Class FaceLinearSubdivisionDto<T> (Inputs.OCCT)

    用于 shapes.face.subdivideToPointsOnParamsubdivideToUVOnParam 的面和一条横跨其 UV 范围的线:该线在一个方向上位于 param 处,nrPoints 个点沿另一个方向分布。

    Type Parameters

    • T
    Index

    Constructors

    • Provide options without default values

      Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • OptionalisU: boolean
      • Optionalparam: number
      • OptionalnrPoints: number
      • OptionalshiftHalfStep: boolean
      • OptionalremoveStartPoint: boolean
      • OptionalremoveEndPoint: boolean

      Returns FaceLinearSubdivisionDto<T>

    Properties

    shape: T

    要在其上放置点的面。

    undefined
    
    isU: boolean

    为 true 时该线位于固定的 U 处,点分布在 V 范围上;为 false 时角色互换。

    true
    
    param: number

    该线所在的位置,以固定方向范围的 0 到 1 比例表示。

    0.5
    

    0

    1

    0.1

    nrPoints: number

    沿该线从边到边有多少个点。

    10
    

    1

    Infinity

    1

    shiftHalfStep: boolean

    为 true 时,每个点沿该线移动半步;在闭合面上这可使点避开接缝。

    false
    
    removeStartPoint: boolean

    为 true 时,省略第一个点。

    false
    
    removeEndPoint: boolean

    为 true 时,省略最后一个点。

    false