Class: DefEllipseFocus

algeobra~DefEllipseFocus()

Definition of the focus points of an ellipse

Constructor

new DefEllipseFocus()

Source:

Methods

compute(createInfo) → {Array}

Computes the Elipse Focii
Parameters:
Name Type Description
createInfo CreateInfo The creation info
Source:
Returns:
An array containing the focus points of type TYPE_POINT. Generally these are two, but in the case of a circle, there is only one, the center
Type
Array

(static) fromEllipse(ellipse) → {CreateInfo}

Computes the focus points of an ellipse
Parameters:
Name Type Description
ellipse Number | Object Either the index or value of a TYPE_ELLIPSE. The ellipse
Source:
Returns:
The creation info
Type
CreateInfo