Bitbybit Docs
    Preparing search index...

    Class EllipseDto (Inputs.JSCAD)

    Feeds polygon.ellipse: a filled ellipse in the XY plane, given by its 2D center, its two half-sizes and the number of straight sides that approximate it.

    Index

    Constructors

    Properties

    Constructors

    Properties

    center: Point2

    The 2D center point, as X and Y in the plane

    [0, 0]
    
    radius: Point2

    The half width along X and the half height along Y, in model units, as [x, y]

    [1, 2]
    
    segments: number

    Number of straight sides around the ellipse; more makes it rounder

    24
    

    0

    Infinity

    1