-
Notifications
You must be signed in to change notification settings - Fork 3
/
utility.pyi
158 lines (147 loc) · 6.62 KB
/
utility.pyi
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
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
from typing import Iterable, Union, Optional, overload
from collections.abc import Iterator
from enum import Enum
from numpy import float64, int32
from numpy.typing import ArrayLike, NDArray
class DoubleVector:
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, other: Union[DoubleVector, NDArray[float64], Iterable]) -> None: ...
def __init__(self, *args, **kwargs) -> None: ...
def __getitem__(self, key) -> float: ...
def __setitem__(self, key, value: ArrayLike) -> DoubleVector: ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterator[float]: ...
def append(self, x: float) -> None: ...
def clear(self) -> None: ...
def count(self, x: float) -> int: ...
def extend(self, L: Union[DoubleVector, Iterable]) -> None: ...
def insert(self, i: int, x: float) -> None: ...
def pop(self, i: Optional[int] = None) -> float: ...
def remove(self, x: float) -> None: ...
class IntVector:
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, other: Union[IntVector, NDArray[int32], Iterable]) -> None: ...
def __getitem__(self, key) -> int: ...
def __setitem__(self, key, value: ArrayLike) -> IntVector: ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterator[int]: ...
def append(self, x: int) -> None: ...
def clear(self) -> None: ...
def count(self, x: int) -> int: ...
def extend(self, L: Union[IntVector, Iterable]) -> None: ...
def insert(self, i: int, x: int) -> None: ...
def pop(self, i: Optional[int] = None) -> int: ...
def remove(self, x: int) -> None: ...
class Matrix4dVector:
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, other: Union[Matrix4dVector, NDArray[float64], Iterable]) -> None: ...
def __getitem__(self, key) -> NDArray[float64]: ...
def __setitem__(self, key, value: ArrayLike) -> Matrix4dVector: ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterator[NDArray[float64]]: ...
def append(self, x: NDArray[float64]) -> None: ...
def clear(self) -> None: ...
def count(self, x: int) -> int: ...
def extend(self, L: Union[Matrix4dVector, Iterable]) -> None: ...
def insert(self, i: int, x: NDArray[float64]) -> None: ...
def pop(self, i: Optional[int] = None) -> NDArray[float64]: ...
def remove(self, x: NDArray[float64]) -> None: ...
class Vector2dVector:
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, other: Union[Vector2dVector, NDArray[float64], Iterable]) -> None: ...
def __init__(self, *args, **kwargs) -> None: ...
def __getitem__(self, key) -> NDArray[float64]: ...
def __setitem__(self, key, value: ArrayLike) -> Vector2dVector: ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterator[NDArray[float64]]: ...
def append(self, x: NDArray[float64]) -> None: ...
def clear(self) -> None: ...
def count(self, x: int) -> int: ...
def extend(self, L: Union[Vector2dVector, Iterable]) -> None: ...
def insert(self, i: int, x: NDArray[float64]) -> None: ...
def pop(self, i: Optional[int] = None) -> NDArray[float64]: ...
def remove(self, x: NDArray[float64]) -> None: ...
class Vector2iVector:
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, other: Union[Vector2iVector, NDArray[int32], Iterable]) -> None: ...
def __getitem__(self, key) -> NDArray[int32]: ...
def __setitem__(self, key, value: ArrayLike) -> Vector2iVector: ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterator[NDArray[int32]]: ...
def append(self, x: NDArray[int32]) -> None: ...
def clear(self) -> None: ...
def count(self, x: int) -> int: ...
def extend(self, L: Union[Vector2iVector, Iterable]) -> None: ...
def insert(self, i: int, x: NDArray[int32]) -> None: ...
def pop(self, i: Optional[int] = None) -> NDArray[int32]: ...
def remove(self, x: NDArray[int32]) -> None: ...
class Vector3dVector:
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, other: Union[Vector3dVector, NDArray[float64], Iterable]) -> None: ...
def __getitem__(self, key) -> NDArray[float64]: ...
def __setitem__(self, key, value: ArrayLike) -> Vector3dVector: ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterator[NDArray[float64]]: ...
def append(self, x: NDArray[float64]) -> None: ...
def clear(self) -> None: ...
def count(self, x: int) -> int: ...
def extend(self, L: Union[Vector3dVector, Iterable]) -> None: ...
def insert(self, i: int, x: NDArray[float64]) -> None: ...
def pop(self, i: Optional[int] = None) -> NDArray[float64]: ...
def remove(self, x: NDArray[float64]) -> None: ...
class Vector3iVector:
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, other: Union[Vector3iVector, NDArray[int32], Iterable]) -> None: ...
def __getitem__(self, key) -> NDArray[int32]: ...
def __setitem__(self, key, value: ArrayLike) -> Vector3iVector: ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterator[NDArray[int32]]: ...
def append(self, x: NDArray[int32]) -> None: ...
def clear(self) -> None: ...
def count(self, x: int) -> int: ...
def extend(self, L: Union[Vector3iVector, Iterable]) -> None: ...
def insert(self, i: int, x: NDArray[int32]) -> None: ...
def pop(self, i: Optional[int] = None) -> NDArray[int32]: ...
def remove(self, x: NDArray[int32]) -> None: ...
class Vector4iVector:
@overload
def __init__(self) -> None: ...
@overload
def __init__(self, other: Union[Vector4iVector, NDArray[int32], Iterable]) -> None: ...
def __getitem__(self, key) -> NDArray[int32]: ...
def __setitem__(self, key, value: ArrayLike) -> Vector4iVector: ...
def __len__(self) -> int: ...
def __iter__(self) -> Iterator[NDArray[int32]]: ...
def append(self, x: NDArray[int32]) -> None: ...
def clear(self) -> None: ...
def count(self, x: int) -> int: ...
def extend(self, L: Union[Vector4iVector, Iterable]) -> None: ...
def insert(self, i: int, x: NDArray[int32]) -> None: ...
def pop(self, i: Optional[int] = None) -> NDArray[int32]: ...
def remove(self, x: NDArray[int32]) -> None: ...
class VerbosityLevel(Enum):
Debug = ...
Error = ...
Info = ...
Warning = ...
class VerbosityContextManager:
def __init__(self, level: VerbosityLevel) -> None: ...
def __enter__(self): ...
def __exit__(self, *args, **kwargs): ...
def get_verbosity_level() -> VerbosityLevel: ...
def set_verbosity_level(verbosity_level: VerbosityLevel) -> None: ...
def reset_print_function() -> None: ...