File size: 839 Bytes
985c397
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# 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

@export(
    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"""