Bitbybit Docs
    Preparing search index...

    Class PathArcSegment (Inputs.OCCT)

    An elliptical arc segment of a path, given by its ellipse's center, radii and rotation and the angles it sweeps; all angles are in radians.

    Index

    Constructors

    • Parameters

      • Optionalto: Point2
      • Optionalcenter: Point2
      • Optionalrx: number
      • Optionalry: number
      • OptionalxAxisRotation: number
      • OptionalstartAngle: number
      • OptionaldeltaAngle: number

      Returns PathArcSegment

    Properties

    type: "arc"

    The segment kind, always arc.

    arc
    
    to: Point2

    The 2D point the arc ends at.

    undefined
    
    center: Point2

    The 2D center of the ellipse the arc lies on.

    undefined
    
    rx: number

    The half-width of the ellipse along its rotated x axis.

    0
    
    ry: number

    The half-width of the ellipse along its rotated y axis.

    0
    
    xAxisRotation: number

    How far the ellipse is turned in the plane, in radians, counterclockwise in path space.

    0
    
    startAngle: number

    The angle on the ellipse where the arc starts, in radians.

    0
    
    deltaAngle: number

    How far the arc sweeps from its start, in radians; negative sweeps clockwise in path space.

    0