Skip to content

Commit 0f98309

Browse files
Update for 7.7.7
1 parent 24323f8 commit 0f98309

File tree

300 files changed

+32480
-26052
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

300 files changed

+32480
-26052
lines changed

OCP-stubs/AIS/__init__.pyi

Lines changed: 620 additions & 952 deletions
Large diffs are not rendered by default.

OCP-stubs/Adaptor2d/__init__.pyi

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ from typing import Iterable as iterable
44
from typing import Iterator as iterator
55
from numpy import float64
66
_Shape = Tuple[int, ...]
7-
import OCP.GeomAbs
8-
import OCP.Geom2d
97
import OCP.gp
8+
import OCP.Geom2d
9+
import OCP.GeomAbs
1010
import OCP.Standard
1111
import OCP.TColStd
1212
__all__ = [
@@ -103,23 +103,23 @@ class Adaptor2d_Curve2d(OCP.Standard.Standard_Transient):
103103
None
104104
"""
105105
@overload
106-
def IsInstance(self,theTypeName : str) -> bool:
106+
def IsInstance(self,theType : OCP.Standard.Standard_Type) -> bool:
107107
"""
108108
Returns a true value if this is an instance of Type.
109109
110110
Returns a true value if this is an instance of TypeName.
111111
"""
112112
@overload
113-
def IsInstance(self,theType : OCP.Standard.Standard_Type) -> bool: ...
113+
def IsInstance(self,theTypeName : str) -> bool: ...
114114
@overload
115-
def IsKind(self,theTypeName : str) -> bool:
115+
def IsKind(self,theType : OCP.Standard.Standard_Type) -> bool:
116116
"""
117117
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
118118
119119
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
120120
"""
121121
@overload
122-
def IsKind(self,theType : OCP.Standard.Standard_Type) -> bool: ...
122+
def IsKind(self,theTypeName : str) -> bool: ...
123123
def IsPeriodic(self) -> bool:
124124
"""
125125
None
@@ -281,23 +281,23 @@ class Adaptor2d_Line2d(Adaptor2d_Curve2d, OCP.Standard.Standard_Transient):
281281
None
282282
"""
283283
@overload
284-
def IsInstance(self,theTypeName : str) -> bool:
284+
def IsInstance(self,theType : OCP.Standard.Standard_Type) -> bool:
285285
"""
286286
Returns a true value if this is an instance of Type.
287287
288288
Returns a true value if this is an instance of TypeName.
289289
"""
290290
@overload
291-
def IsInstance(self,theType : OCP.Standard.Standard_Type) -> bool: ...
291+
def IsInstance(self,theTypeName : str) -> bool: ...
292292
@overload
293-
def IsKind(self,theTypeName : str) -> bool:
293+
def IsKind(self,theType : OCP.Standard.Standard_Type) -> bool:
294294
"""
295295
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
296296
297297
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
298298
"""
299299
@overload
300-
def IsKind(self,theType : OCP.Standard.Standard_Type) -> bool: ...
300+
def IsKind(self,theTypeName : str) -> bool: ...
301301
def IsPeriodic(self) -> bool:
302302
"""
303303
None
@@ -315,14 +315,14 @@ class Adaptor2d_Line2d(Adaptor2d_Curve2d, OCP.Standard.Standard_Transient):
315315
None
316316
"""
317317
@overload
318-
def Load(self,L : OCP.gp.gp_Lin2d,UFirst : float,ULast : float) -> None:
318+
def Load(self,L : OCP.gp.gp_Lin2d) -> None:
319319
"""
320320
None
321321
322322
None
323323
"""
324324
@overload
325-
def Load(self,L : OCP.gp.gp_Lin2d) -> None: ...
325+
def Load(self,L : OCP.gp.gp_Lin2d,UFirst : float,ULast : float) -> None: ...
326326
def NbIntervals(self,S : OCP.GeomAbs.GeomAbs_Shape) -> int:
327327
"""
328328
If necessary, breaks the curve in intervals of continuity <S>. And returns the number of intervals.
@@ -368,9 +368,9 @@ class Adaptor2d_Line2d(Adaptor2d_Curve2d, OCP.Standard.Standard_Transient):
368368
None
369369
"""
370370
@overload
371-
def __init__(self,P : OCP.gp.gp_Pnt2d,D : OCP.gp.gp_Dir2d,UFirst : float,ULast : float) -> None: ...
372-
@overload
373371
def __init__(self) -> None: ...
372+
@overload
373+
def __init__(self,P : OCP.gp.gp_Pnt2d,D : OCP.gp.gp_Dir2d,UFirst : float,ULast : float) -> None: ...
374374
@staticmethod
375375
def get_type_descriptor_s() -> OCP.Standard.Standard_Type:
376376
"""
@@ -475,23 +475,23 @@ class Adaptor2d_OffsetCurve(Adaptor2d_Curve2d, OCP.Standard.Standard_Transient):
475475
None
476476
"""
477477
@overload
478-
def IsInstance(self,theTypeName : str) -> bool:
478+
def IsInstance(self,theType : OCP.Standard.Standard_Type) -> bool:
479479
"""
480480
Returns a true value if this is an instance of Type.
481481
482482
Returns a true value if this is an instance of TypeName.
483483
"""
484484
@overload
485-
def IsInstance(self,theType : OCP.Standard.Standard_Type) -> bool: ...
485+
def IsInstance(self,theTypeName : str) -> bool: ...
486486
@overload
487-
def IsKind(self,theTypeName : str) -> bool:
487+
def IsKind(self,theType : OCP.Standard.Standard_Type) -> bool:
488488
"""
489489
Returns true if this is an instance of Type or an instance of any class that inherits from Type. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
490490
491491
Returns true if this is an instance of TypeName or an instance of any class that inherits from TypeName. Note that multiple inheritance is not supported by OCCT RTTI mechanism.
492492
"""
493493
@overload
494-
def IsKind(self,theType : OCP.Standard.Standard_Type) -> bool: ...
494+
def IsKind(self,theTypeName : str) -> bool: ...
495495
def IsPeriodic(self) -> bool:
496496
"""
497497
None
@@ -518,9 +518,9 @@ class Adaptor2d_OffsetCurve(Adaptor2d_Curve2d, OCP.Standard.Standard_Transient):
518518
Changes the Offset Curve on the current Curve.
519519
"""
520520
@overload
521-
def Load(self,Offset : float,WFirst : float,WLast : float) -> None: ...
522-
@overload
523521
def Load(self,Offset : float) -> None: ...
522+
@overload
523+
def Load(self,Offset : float,WFirst : float,WLast : float) -> None: ...
524524
def NbIntervals(self,S : OCP.GeomAbs.GeomAbs_Shape) -> int:
525525
"""
526526
If necessary, breaks the curve in intervals of continuity <S>. And returns the number of intervals.
@@ -570,13 +570,13 @@ class Adaptor2d_OffsetCurve(Adaptor2d_Curve2d, OCP.Standard.Standard_Transient):
570570
Computes the point of parameter U on the curve.
571571
"""
572572
@overload
573-
def __init__(self,C : Adaptor2d_Curve2d,Offset : float) -> None: ...
574-
@overload
575573
def __init__(self,C : Adaptor2d_Curve2d,Offset : float,WFirst : float,WLast : float) -> None: ...
576574
@overload
577575
def __init__(self,C : Adaptor2d_Curve2d) -> None: ...
578576
@overload
579577
def __init__(self) -> None: ...
578+
@overload
579+
def __init__(self,C : Adaptor2d_Curve2d,Offset : float) -> None: ...
580580
@staticmethod
581581
def get_type_descriptor_s() -> OCP.Standard.Standard_Type:
582582
"""

0 commit comments

Comments
 (0)