Hide menu
Loading...
Searching...
No Matches
Ellipse

Defines a 3D ellipse.

An ellipse is defined by its position, major radius, and minor radius.

Extends

Constructors

Constructor

new Ellipse(position, majorRadius, minorRadius): Ellipse

Creates an ellipse from a position axis, major radius, and minor radius.

Throws a RangeError if minorRadius is less than 0. Throws a RangeError if majorRadius is less than minorRadius.

Parameters

position

Axis3d

Position axis of the ellipse.

majorRadius

number

Major radius of the ellipse.

minorRadius

number

Minor radius of the ellipse.

Returns

Ellipse

Overrides

Conic.constructor

Properties

majorRadius

readonly majorRadius: number

Major radius of the ellipse.


minorRadius

readonly minorRadius: number

Minor radius of the ellipse.


position

readonly position: Axis3d

Position axis of the conic curve.

Inherited from

Conic.position


type

readonly type: CurveType = CurveType.UNDEFINED

Type of the curve.

Inherited from

Conic.type

Accessors

id

Get Signature

get id(): bigint

Returns the unique identifier of the object.

Returns

bigint

Inherited from

Conic.id