| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| from __future__ import annotations | |
| from Base.Metadata import export | |
| from typing import Final | |
| from Part.Geom2d import Curve2d | |
| PythonName="Part.Geom2d.ArcOfConic2d", | |
| Twin="Geom2dArcOfConic", | |
| TwinPointer="Geom2dArcOfConic", | |
| Include="Mod/Part/App/Geometry2d.h", | |
| Namespace="Part", | |
| FatherInclude="Mod/Part/App/Geom2d/Curve2dPy.h", | |
| Constructor=True, | |
| ) | |
| class ArcOfConic2d(Curve2d): | |
| """ | |
| Describes an abstract arc of conic in 2d space. | |
| Author: Werner Mayer (wmayer[at]users.sourceforge.net) | |
| Licence: LGPL | |
| """ | |
| Location: object = ... | |
| """Location of the conic.""" | |
| Eccentricity: Final[float] = ... | |
| """ | |
| returns the eccentricity value of the conic e. | |
| e = 0 for a circle | |
| 0 < e < 1 for an ellipse (e = 0 if MajorRadius = MinorRadius) | |
| e > 1 for a hyperbola | |
| e = 1 for a parabola | |
| """ | |
| XAxis: object = ... | |
| """The X axis direction of the circle.""" | |
| YAxis: object = ... | |
| """The Y axis direction of the circle.""" | |