File size: 794 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
# SPDX-License-Identifier: LGPL-2.1-or-later

from __future__ import annotations

from Base.Metadata import export
from TrimmedCurve import TrimmedCurve
from Geometry import Geom_Circle, Geom_Ellipse
from typing import overload

@export(
    Father="TrimmedCurvePy",
    PythonName="Part.Arc",
    Twin="GeomTrimmedCurve",
    TwinPointer="GeomTrimmedCurve",
    Include="Mod/Part/App/Geometry.h",
    FatherInclude="Mod/Part/App/TrimmedCurvePy.h",
    Constructor=True,
)
class Arc(TrimmedCurve):
    """
    Describes a portion of a curve

    Author: Werner Mayer (wmayer@users.sourceforge.net)
    Licence: LGPL
    """

    @overload
    def __init__(self, circ: Geom_Circle, T: type = ...) -> None: ...
    @overload
    def __init__(self, circ: Geom_Ellipse, T: type = ...) -> None: ...