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 (87 lines) | stat: -rw-r--r-- 2,550 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
import OCP.AppCont
from typing import *
from typing import Iterable as iterable
from typing import Iterator as iterator
from numpy import float64
_Shape = Tuple[int, ...]
import OCP.AppParCurves
import OCP.TColgp
__all__  = [
"AppCont_Function",
"AppCont_LeastSquare",
"PeriodicityInfo"
]
class AppCont_Function():
    """
    Class describing a continuous 3d and/or function f(u). This class must be provided by the user to use the approximation algorithm FittingCurve.
    """
    def D1(self,theU : float,theVec2d : OCP.TColgp.TColgp_Array1OfVec2d,theVec : OCP.TColgp.TColgp_Array1OfVec) -> bool: 
        """
        Returns the derivative at parameter <theU>.
        """
    def FirstParameter(self) -> float: 
        """
        Returns the first parameter of the function.
        """
    def GetNbOf2dPoints(self) -> int: 
        """
        Get number of 2d points returned by "Value" and "D1" functions.
        """
    def GetNbOf3dPoints(self) -> int: 
        """
        Get number of 3d points returned by "Value" and "D1" functions.
        """
    def GetNumberOfPoints(self) -> tuple[int, int]: 
        """
        Get number of 3d and 2d points returned by "Value" and "D1" functions.
        """
    def LastParameter(self) -> float: 
        """
        Returns the last parameter of the function.
        """
    def Value(self,theU : float,thePnt2d : OCP.TColgp.TColgp_Array1OfPnt2d,thePnt : OCP.TColgp.TColgp_Array1OfPnt) -> bool: 
        """
        Returns the point at parameter <theU>.
        """
    def __init__(self) -> None: ...
    pass
class AppCont_LeastSquare():
    """
    None
    """
    def Error(self) -> tuple[float, float, float]: 
        """
        None
        """
    def IsDone(self) -> bool: 
        """
        None
        """
    def Value(self) -> OCP.AppParCurves.AppParCurves_MultiCurve: 
        """
        None
        """
    def __init__(self,SSP : AppCont_Function,U0 : float,U1 : float,FirstCons : OCP.AppParCurves.AppParCurves_Constraint,LastCons : OCP.AppParCurves.AppParCurves_Constraint,Deg : int,NbPoints : int) -> None: ...
    pass
class PeriodicityInfo():
    """
    None
    """
    def __init__(self) -> None: ...
    @property
    def isPeriodic(self) -> bool:
        """
        :type: bool
        """
    @isPeriodic.setter
    def isPeriodic(self, arg0: bool) -> None:
        pass
    @property
    def myPeriod(self) -> float:
        """
        :type: float
        """
    @myPeriod.setter
    def myPeriod(self, arg0: float) -> None:
        pass
    pass