kcl-stdfunctionsellipticPoint

ellipticPointFunction in std::sketch

Calculate the point (x, y) on an ellipse given x or y and the center and major/minor radii of the ellipse.

Arguments

NameTypeDescriptionRequired
majorRadiusnumberThe major radius, a, of the elliptic equation x^2 / a ^ 2 + y^2 / b^2 = 1.Yes
minorRadiusnumberThe minor radius, b, of the hyperbolic equation x^2 / a ^ 2 + y^2 / b^2 = 1.Yes
xnumber(Length)The x value. Calculates y and returns (x, y). Incompatible with y.No
ynumber(Length)The y value. Calculates x and returns (x, y). Incompatible with x.No

Returns

Point2d - A point in two dimensional space.

Examples

Found a typo?