File: __init__.pyi

package info (click to toggle)
python-ocp 7.8.1.2-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 64,720 kB
  • sloc: cpp: 362,337; pascal: 33; python: 23; makefile: 4
file content (133 lines) | stat: -rw-r--r-- 3,607 bytes parent folder | download
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
import OCP.Sweep
from typing import *
from typing import Iterable as iterable
from typing import Iterator as iterator
from numpy import float64
_Shape = Tuple[int, ...]
import OCP.TopAbs
__all__  = [
"Sweep_NumShape",
"Sweep_NumShapeIterator",
"Sweep_NumShapeTool"
]
class Sweep_NumShape():
    """
    Gives a simple indexed representation of a Directing Edge topology.
    """
    def BegInfinite(self) -> bool: 
        """
        None

        None
        """
    def Closed(self) -> bool: 
        """
        None

        None
        """
    def EndInfinite(self) -> bool: 
        """
        None

        None
        """
    def Index(self) -> int: 
        """
        None

        None
        """
    def Init(self,Index : int,Type : OCP.TopAbs.TopAbs_ShapeEnum,Closed : bool=False,BegInf : bool=False,EndInf : bool=False) -> None: 
        """
        Reinitialize a simple indexed edge.
        """
    def Orientation(self) -> OCP.TopAbs.TopAbs_Orientation: 
        """
        None
        """
    def Type(self) -> OCP.TopAbs.TopAbs_ShapeEnum: 
        """
        None

        None
        """
    @overload
    def __init__(self) -> None: ...
    @overload
    def __init__(self,Index : int,Type : OCP.TopAbs.TopAbs_ShapeEnum,Closed : bool=False,BegInf : bool=False,EndInf : bool=False) -> None: ...
    pass
class Sweep_NumShapeIterator():
    """
    This class provides iteration services required by the Swept Primitives for a Directing NumShape Line.
    """
    def Init(self,aShape : Sweep_NumShape) -> None: 
        """
        Reset the NumShapeIterator on sub-shapes of <aShape>.
        """
    def More(self) -> bool: 
        """
        Returns True if there is a current sub-shape.

        Returns True if there is a current sub-shape.
        """
    def Next(self) -> None: 
        """
        Moves to the next sub-shape.
        """
    def Orientation(self) -> OCP.TopAbs.TopAbs_Orientation: 
        """
        Returns the orientation of the current sub-shape.

        Returns the orientation of the current sub-shape.
        """
    def Value(self) -> Sweep_NumShape: 
        """
        Returns the current sub-shape.

        Returns the current sub-shape.
        """
    def __init__(self) -> None: ...
    pass
class Sweep_NumShapeTool():
    """
    This class provides the indexation and type analysis services required by the NumShape Directing Shapes of Swept Primitives.
    """
    def FirstVertex(self) -> Sweep_NumShape: 
        """
        Returns the first vertex.
        """
    def HasFirstVertex(self) -> bool: 
        """
        Returns true if there is a First Vertex in the Shape.
        """
    def HasLastVertex(self) -> bool: 
        """
        Returns true if there is a Last Vertex in the Shape.
        """
    def Index(self,aShape : Sweep_NumShape) -> int: 
        """
        Returns the index of <aShape>.
        """
    def LastVertex(self) -> Sweep_NumShape: 
        """
        Returns the last vertex.
        """
    def NbShapes(self) -> int: 
        """
        Returns the number of subshapes in the shape.
        """
    def Orientation(self,aShape : Sweep_NumShape) -> OCP.TopAbs.TopAbs_Orientation: 
        """
        Returns the orientation of <aShape>.
        """
    def Shape(self,anIndex : int) -> Sweep_NumShape: 
        """
        Returns the Shape at index anIndex
        """
    def Type(self,aShape : Sweep_NumShape) -> OCP.TopAbs.TopAbs_ShapeEnum: 
        """
        Returns the type of <aShape>.
        """
    def __init__(self,aShape : Sweep_NumShape) -> None: ...
    pass