Bitbybit Docs
    Preparing search index...

    Class FaceLinearSubdivisionDto<T> (Inputs.OCCT)

    A face and one line across its UV range for shapes.face.subdivideToPointsOnParam and subdivideToUVOnParam: the line sits at param in one direction and nrPoints points spread over the other.

    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

    The face to place the points on.

    undefined
    
    isU: boolean

    When true the line sits at a fixed U and the points spread across the V range; when false the roles swap.

    true
    
    param: number

    Where the line sits, as a fraction from 0 to 1 of the fixed direction's range.

    0.5
    

    0

    1

    0.1

    nrPoints: number

    How many points along the line, edge to edge.

    10
    

    1

    Infinity

    1

    shiftHalfStep: boolean

    When true, every point moves half a step along the line; on a closed face this keeps points off the seam.

    false
    
    removeStartPoint: boolean

    When true, the first point is left out.

    false
    
    removeEndPoint: boolean

    When true, the last point is left out.

    false