Bitbybit Docs
    Preparing search index...

    Class Geom2dEllipseDto (Inputs.OCCT)

    A center, a major axis direction and two radii for geom.curves.geom2dEllipse, a 2D construction curve.

    Index

    Constructors

    • Parameters

      • Optionalcenter: Point2
      • Optionaldirection: Vector2
      • OptionalradiusMinor: number
      • OptionalradiusMajor: number
      • Optionalsense: boolean

      Returns Geom2dEllipseDto

    Properties

    center: Point2

    The center of the ellipse as a 2D point.

    [0,0]
    
    direction: Vector2

    The direction of the major axis in the plane.

    [1,0]
    
    radiusMinor: number

    The half-width across the ellipse's short axis; must not exceed radiusMajor.

    1
    

    0

    Infinity

    0.1

    radiusMajor: number

    The half-width along the ellipse's long axis.

    2
    

    0

    Infinity

    0.1

    sense: boolean

    When true, the curve runs the other way round.

    false