Skip to content

Commit 24323f8

Browse files
Update stubs for 7.6.3
1 parent 51932c1 commit 24323f8

File tree

307 files changed

+41904
-43882
lines changed

Some content is hidden

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

307 files changed

+41904
-43882
lines changed

OCP-stubs/AIS/__init__.pyi

Lines changed: 2327 additions & 1043 deletions
Large diffs are not rendered by default.

OCP-stubs/Adaptor2d/__init__.pyi

Lines changed: 142 additions & 690 deletions
Large diffs are not rendered by default.

OCP-stubs/Adaptor3d/__init__.pyi

Lines changed: 327 additions & 1195 deletions
Large diffs are not rendered by default.

OCP-stubs/AdvApp2Var/__init__.pyi

Lines changed: 62 additions & 60 deletions
Large diffs are not rendered by default.

OCP-stubs/AdvApprox/__init__.pyi

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ 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.TColStd
8-
import io
97
import OCP.GeomAbs
108
import OCP.TColgp
9+
import io
1110
import OCP.PLib
11+
import OCP.TColStd
1212
__all__ = [
1313
"AdvApprox_ApproxAFunction",
1414
"AdvApprox_Cutting",
@@ -27,14 +27,14 @@ class AdvApprox_ApproxAFunction():
2727
None
2828
"""
2929
@overload
30-
def AverageError(self,Dimension : int,Index : int) -> float:
30+
def AverageError(self,Dimension : int) -> OCP.TColStd.TColStd_HArray1OfReal:
3131
"""
3232
returns the error as is in the algorithms
3333
3434
None
3535
"""
3636
@overload
37-
def AverageError(self,Dimension : int) -> OCP.TColStd.TColStd_HArray1OfReal: ...
37+
def AverageError(self,Dimension : int,Index : int) -> float: ...
3838
def Degree(self) -> int:
3939
"""
4040
None
@@ -43,7 +43,7 @@ class AdvApprox_ApproxAFunction():
4343
"""
4444
def Dump(self,o : io.BytesIO) -> None:
4545
"""
46-
diplay information on approximation.
46+
display information on approximation.
4747
"""
4848
def HasResult(self) -> bool:
4949
"""
@@ -64,14 +64,14 @@ class AdvApprox_ApproxAFunction():
6464
None
6565
"""
6666
@overload
67-
def MaxError(self,Dimension : int) -> OCP.TColStd.TColStd_HArray1OfReal:
67+
def MaxError(self,Dimension : int,Index : int) -> float:
6868
"""
6969
returns the error as is in the algorithms
7070
7171
None
7272
"""
7373
@overload
74-
def MaxError(self,Dimension : int,Index : int) -> float: ...
74+
def MaxError(self,Dimension : int) -> OCP.TColStd.TColStd_HArray1OfReal: ...
7575
def Multiplicities(self) -> OCP.TColStd.TColStd_HArray1OfInteger:
7676
"""
7777
None
@@ -95,7 +95,7 @@ class AdvApprox_ApproxAFunction():
9595
None
9696
"""
9797
@overload
98-
def Poles(self) -> OCP.TColgp.TColgp_HArray2OfPnt:
98+
def Poles(self,Index : int,P : OCP.TColgp.TColgp_Array1OfPnt) -> None:
9999
"""
100100
-- returns the poles from the algorithms as is
101101
@@ -104,7 +104,7 @@ class AdvApprox_ApproxAFunction():
104104
-- returns the poles from the algorithms as is
105105
"""
106106
@overload
107-
def Poles(self,Index : int,P : OCP.TColgp.TColgp_Array1OfPnt) -> None: ...
107+
def Poles(self) -> OCP.TColgp.TColgp_HArray2OfPnt: ...
108108
@overload
109109
def Poles1d(self,Index : int,P : OCP.TColStd.TColStd_Array1OfReal) -> None:
110110
"""
@@ -117,7 +117,7 @@ class AdvApprox_ApproxAFunction():
117117
@overload
118118
def Poles1d(self) -> OCP.TColStd.TColStd_HArray2OfReal: ...
119119
@overload
120-
def Poles2d(self,Index : int,P : OCP.TColgp.TColgp_Array1OfPnt2d) -> None:
120+
def Poles2d(self) -> OCP.TColgp.TColgp_HArray2OfPnt2d:
121121
"""
122122
returns the poles from the algorithms as is
123123
@@ -126,11 +126,11 @@ class AdvApprox_ApproxAFunction():
126126
returns the poles from the algorithms as is
127127
"""
128128
@overload
129-
def Poles2d(self) -> OCP.TColgp.TColgp_HArray2OfPnt2d: ...
130-
@overload
131-
def __init__(self,Num1DSS : int,Num2DSS : int,Num3DSS : int,OneDTol : OCP.TColStd.TColStd_HArray1OfReal,TwoDTol : OCP.TColStd.TColStd_HArray1OfReal,ThreeDTol : OCP.TColStd.TColStd_HArray1OfReal,First : float,Last : float,Continuity : OCP.GeomAbs.GeomAbs_Shape,MaxDeg : int,MaxSeg : int,Func : AdvApprox_EvaluatorFunction,CutTool : AdvApprox_Cutting) -> None: ...
129+
def Poles2d(self,Index : int,P : OCP.TColgp.TColgp_Array1OfPnt2d) -> None: ...
132130
@overload
133131
def __init__(self,Num1DSS : int,Num2DSS : int,Num3DSS : int,OneDTol : OCP.TColStd.TColStd_HArray1OfReal,TwoDTol : OCP.TColStd.TColStd_HArray1OfReal,ThreeDTol : OCP.TColStd.TColStd_HArray1OfReal,First : float,Last : float,Continuity : OCP.GeomAbs.GeomAbs_Shape,MaxDeg : int,MaxSeg : int,Func : AdvApprox_EvaluatorFunction) -> None: ...
132+
@overload
133+
def __init__(self,Num1DSS : int,Num2DSS : int,Num3DSS : int,OneDTol : OCP.TColStd.TColStd_HArray1OfReal,TwoDTol : OCP.TColStd.TColStd_HArray1OfReal,ThreeDTol : OCP.TColStd.TColStd_HArray1OfReal,First : float,Last : float,Continuity : OCP.GeomAbs.GeomAbs_Shape,MaxDeg : int,MaxSeg : int,Func : AdvApprox_EvaluatorFunction,CutTool : AdvApprox_Cutting) -> None: ...
134134
pass
135135
class AdvApprox_Cutting():
136136
"""

OCP-stubs/AppCont/__init__.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ __all__ = [
1313
]
1414
class AppCont_Function():
1515
"""
16-
Class describing a continous 3d and/or function f(u). This class must be provided by the user to use the approximation algorithm FittingCurve.
16+
Class describing a continuous 3d and/or function f(u). This class must be provided by the user to use the approximation algorithm FittingCurve.
1717
"""
1818
def D1(self,theU : float,theVec2d : OCP.TColgp.TColgp_Array1OfVec2d,theVec : OCP.TColgp.TColgp_Array1OfVec) -> bool:
1919
"""

0 commit comments

Comments
 (0)