| # SPDX-License-Identifier: LGPL-2.1-or-later | |
| from __future__ import annotations | |
| from Base.Metadata import export | |
| from Part.ArcOfConic import ArcOfConic | |
| from typing import Final | |
| Father="ArcOfConicPy", | |
| Name="ArcOfHyperbolaPy", | |
| PythonName="Part.ArcOfHyperbola", | |
| Twin="GeomArcOfHyperbola", | |
| TwinPointer="GeomArcOfHyperbola", | |
| Include="Mod/Part/App/Geometry.h", | |
| Namespace="Part", | |
| FatherInclude="Mod/Part/App/ArcOfConicPy.h", | |
| FatherNamespace="Part", | |
| Constructor=True, | |
| ) | |
| class ArcOfHyperbola(ArcOfConic): | |
| """ | |
| Describes a portion of an hyperbola | |
| """ | |
| MajorRadius: float = 0.0 | |
| """The major radius of the hyperbola.""" | |
| MinorRadius: float = 0.0 | |
| """The minor radius of the hyperbola.""" | |
| Hyperbola: Final[object] = None | |
| """The internal hyperbola representation""" | |