| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
named._Named --+
|
Ellipse
Class to compute attributes of a 2-D ellipse, like perimeter, area and arcs.
| Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from |
|||
| Properties | |
|
a Return semi-axis a of this ellipse
(meter, conventionally).
|
|
|
area Return the area of this ellipse ( meter**2,
conventionally).
|
|
|
b Return semi-axis b of this ellipse
(meter, conventionally).
|
|
|
foci Get the foci lengths ( meter, conventionally),
positive if the ellipse is oblate with foci on semi-axis
a, negative if prolate with foci on
semi-axis b or 0 if circular with
coincident foci in the ellipse' center.
|
|
|
isCircular Is this ellipse circular? ( bool)
|
|
|
isFlat Is this ellipse "flat", too pro-/oblate? ( bool)
|
|
|
isOblate Is this ellipse oblate? ( bool)
|
|
|
isProlate Is this ellipse prolate? ( bool)
|
|
|
perimeterAGM Compute the perimeter of this ellipse using the Arithmetic-Geometric Mean formula ( meter, same units as semi-axes a
and b).
|
|
|
perimeter4Arc3 Compute the perimeter (and arcs) of this ellipse using the 4-Arc approximation as a 3-Tuple (P, Ra,
Rb) with perimeter P, arc radii Ra
and Rb at the respective semi-axes (all in
meter, same units as semi-axes a and
b).
|
|
|
perimeterGK Compute the perimeter of this ellipse using the Gauss-Kummer series, b / a >
0.75 (meter, same units as semi-axes
a and b).
|
|
|
perimeter2k Compute the perimeter of this ellipse using the complete integral of the 2nd kind, Elliptic.cE (meter, same
units as semi-axes a and b).
|
|
|
perimeter2k_ Compute the perimeter of this ellipse using SciPy's ellipe function if available, otherwise use property perimeter2k (meter, same units as
semi-axes a and b).
|
|
|
perimeterHGK Compute the perimeter of this ellipse using the Hypergeometric Gauss-Kummer series ( meter, same units as semi-axes a
and b).
|
|
|
perimeter2R Compute the perimeter of this ellipse using Ramanujan's 2nd approximation, b / a
> 0.9 (meter, same units as semi-axes
a and b).
|
|
|
R2 Compute the authalic radius of this ellipse, sqrt(a * b) (meter, same
units as semi-axes a and b).
|
|
|
Inherited from Inherited from |
|
| Method Details |
New Ellipse with semi-axes The ellipse is oblate if
|
Compute the length of elliptic arc
|
Compute the length of elliptic arc
|
Compute the radius of curvature at angle
|
| Property Details |
aReturn semi-axis
|
areaReturn the area of this ellipse (
|
bReturn semi-axis
|
fociGet the foci lengths (
|
isCircularIs this ellipse circular? (
|
isFlatIs this ellipse "flat", too pro-/oblate?
(
|
isOblateIs this ellipse oblate? (
|
isProlateIs this ellipse prolate? (
|
perimeterAGMCompute the perimeter of this ellipse using the Arithmetic-Geometric Mean formula (
|
perimeter4Arc3Compute the perimeter (and arcs) of this ellipse using the 4-Arc approximation as a 3-Tuple
|
perimeterGKCompute the perimeter of this ellipse using the Gauss-Kummer series,
|
perimeter2kCompute the perimeter of this ellipse using the complete integral of
the 2nd kind,
|
perimeter2k_Compute the perimeter of this ellipse using SciPy's ellipe function if available, otherwise use
property
|
perimeterHGKCompute the perimeter of this ellipse using the Hypergeometric Gauss-Kummer series (
|
perimeter2RCompute the perimeter of this ellipse using Ramanujan's 2nd approximation,
|
R2Compute the authalic radius of this ellipse,
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Feb 15 14:14:26 2026 | http://epydoc.sourceforge.net |