31 lines
739 B
Python
31 lines
739 B
Python
from Base.Metadata import export
|
|
from ArcOfConic import ArcOfConic
|
|
from typing import Final
|
|
|
|
|
|
@export(
|
|
Father="ArcOfConicPy",
|
|
Name="ArcOfParabolaPy",
|
|
PythonName="Part.ArcOfParabola",
|
|
Twin="GeomArcOfParabola",
|
|
TwinPointer="GeomArcOfParabola",
|
|
Include="Mod/Part/App/Geometry.h",
|
|
Namespace="Part",
|
|
FatherInclude="Mod/Part/App/ArcOfConicPy.h",
|
|
FatherNamespace="Part",
|
|
Constructor=True,
|
|
)
|
|
class ArcOfParabola(ArcOfConic):
|
|
"""
|
|
Describes a portion of a parabola
|
|
|
|
Author: Abdullah Tahiri (abdullah.tahiri.yo@gmail.com)
|
|
Licence: LGPL
|
|
"""
|
|
|
|
Focal: float = ...
|
|
"""The focal length of the parabola."""
|
|
|
|
Parabola: Final[object] = ...
|
|
"""The internal parabola representation"""
|