Bitbybit Docs
    Preparing search index...

    Class DrawingEllipseSegmentDto (Inputs.IO)

    An ellipse or an arc of one in a drawing path: its center, the vector to the end of its major axis and the minor to major ratio, in the XY plane unless normal tilts it.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Where the ellipse's center lies; without a Z it lies at Z 0.

    undefined
    
    majorAxis: Vector3 | Vector2

    The vector from the center to one end of the major axis; its length is the major radius, in drawing units.

    undefined
    
    ratio: number

    The minor radius divided by the major radius.

    undefined
    

    0

    1

    true

    startParameter?: number

    Where the arc starts, as the ellipse's parameter t in radians (the point center + cos(t) majorAxis + sin(t) minor axis), the angle only when ratio is 1.

    0
    

    -Infinity

    Infinity

    endParameter?: number

    Where the arc ends, as the same parameter in radians; the arc runs counterclockwise from the start, through 0 when the end is below the start.

    6.283185307179586
    

    -Infinity

    Infinity

    normal?: Vector3

    The direction the ellipse's plane faces, perpendicular to majorAxis. Leave it out for an ellipse in the XY plane facing +Z.

    undefined
    

    true