Bitbybit Docs
    Preparing search index...

    Class Geom2dTrimmedCurveDto<T> (Inputs.OCCT)

    A 2D curve and two parameters for geom.curves.geom2dTrimmedCurve, which keeps the piece between them.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • Optionalu1: number
      • Optionalu2: number
      • Optionalsense: boolean
      • OptionaladjustPeriodic: boolean

      Returns Geom2dTrimmedCurveDto<T>

    Properties

    shape: T

    The 2D curve to cut a piece out of.

    undefined
    
    u1: number

    The parameter where the piece starts; the piece runs from u1 to u2, whichever is larger.

    0
    

    0

    Infinity

    0.1

    u2: number

    The parameter where the piece ends.

    1
    

    0

    Infinity

    0.1

    sense: boolean

    On a closed curve, which of the two possible pieces is kept: true keeps the one running the curve's own way.

    true
    
    adjustPeriodic: boolean

    When true, the parameters of a periodic curve are brought into its period first.

    true