Bitbybit Docs
    Preparing search index...

    Class BezierDto (Inputs.OCCT)

    Control points and shape options for shapes.wire.createBezier, a smooth curve pulled toward its control points.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalpoints: Point3[]
      • Optionalclosed: boolean
      • Optionaldegree: number
      • Optionalperiodic: boolean

      Returns BezierDto

    Properties

    points: Point3[]

    The control points: the curve starts at the first, ends at the last and is pulled toward the ones between.

    undefined
    
    closed: boolean

    When true, the first point is appended again so the ends meet, with a corner at the seam.

    false
    
    degree?: number

    How many neighboring control points shape each part of the curve; leave it out for a classic Bezier, capped at 25 and bounded automatically above 26 points.

    undefined
    

    true

    1

    Infinity

    1

    periodic?: boolean

    When true, the curve closes into a loop that is smooth across the seam, using degree or a default; it overrides closed.

    false
    

    true