Bitbybit Docs
    Preparing search index...

    Class BezierDto

    Index

    Constructors

    Properties

    Constructors

    • Parameters

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

      Returns BezierDto

    Properties

    points: Point3[]

    Points through which the Bezier curve will be created

    undefined
    
    closed: boolean

    Indicates wether Bezier will be cloed

    false
    
    degree?: number

    Optional maximum local degree. A classic Bezier has degree (controlPoints - 1), which oscillates and is hard-capped at 25; when a degree is given (or there are more than 26 control points) a clamped bounded-degree curve is built instead, so it scales to many control points while still following the control polygon. Left empty, a classic Bezier (or auto bounded-degree for many points) is used.

    undefined
    

    true

    1

    Infinity

    1

    periodic?: boolean

    Build a smooth CLOSED (periodic) curve that wraps the control polygon, continuous across the seam - unlike closed, which only meets C0 by repeating the first point. Uses degree (or a sensible default) and ignores closed when set.

    false
    

    true