PySimultan 0.5.9.6__py3-none-any.whl → 0.6.0.1__py3-none-any.whl

Sign up to get free protection for your applications and to get access to all the features.
Files changed (134) hide show
  1. PySimultan2/CHANGELOG.md +9 -0
  2. PySimultan2/__about__.py +1 -1
  3. PySimultan2/data_model.py +12 -5
  4. PySimultan2/default_types.py +39 -8
  5. PySimultan2/files.py +1 -1
  6. PySimultan2/object_mapper.py +31 -3
  7. PySimultan2/resources/BruTile.dll +0 -0
  8. PySimultan2/resources/ComponentBuilder.dll +0 -0
  9. PySimultan2/resources/ComponentBuilder.xml +93 -15
  10. PySimultan2/resources/HelixToolkit.Core.Wpf.dll +0 -0
  11. PySimultan2/resources/HelixToolkit.SharpDX.Core.Wpf.dll +0 -0
  12. PySimultan2/resources/HelixToolkit.SharpDX.Core.dll +0 -0
  13. PySimultan2/resources/HelixToolkit.dll +0 -0
  14. PySimultan2/resources/Python.Runtime.dll +0 -0
  15. PySimultan2/resources/SIMULTAN.Lang.dll +0 -0
  16. PySimultan2/resources/SIMULTAN.Lang.xml +62 -1
  17. PySimultan2/resources/SIMULTAN.UI.dll +0 -0
  18. PySimultan2/resources/SIMULTAN.UI.xml +57 -0
  19. PySimultan2/resources/SIMULTAN.dll +0 -0
  20. PySimultan2/resources/SIMULTAN.xml +73 -3
  21. PySimultan2/resources/System.Reflection.MetadataLoadContext.dll +0 -0
  22. PySimultan2/resources/defaultsettings.xml +0 -0
  23. PySimultan2/simultan_object.py +6 -1
  24. PySimultan2/taxonomy_maps.py +45 -27
  25. PySimultan2/typings/SIMULTAN/Data/Assets/__init__.pyi +616 -0
  26. PySimultan2/typings/SIMULTAN/Data/Components/__init__.pyi +2538 -0
  27. PySimultan2/typings/SIMULTAN/Data/FlowNetworks/__init__.pyi +499 -0
  28. PySimultan2/typings/SIMULTAN/Data/Geometry/__init__.pyi +2219 -0
  29. PySimultan2/typings/SIMULTAN/Data/MultiValues/__init__.pyi +682 -0
  30. PySimultan2/typings/SIMULTAN/Data/SimMath/__init__.pyi +1654 -0
  31. PySimultan2/typings/SIMULTAN/Data/SimNetworks/__init__.pyi +442 -0
  32. PySimultan2/typings/SIMULTAN/Data/SitePlanner/__init__.pyi +193 -0
  33. PySimultan2/typings/SIMULTAN/Data/Taxonomy/__init__.pyi +367 -0
  34. PySimultan2/typings/SIMULTAN/Data/Users/__init__.pyi +116 -0
  35. PySimultan2/typings/SIMULTAN/Data/ValueMappings/__init__.pyi +212 -0
  36. PySimultan2/typings/SIMULTAN/Data/__init__.pyi +232 -0
  37. PySimultan2/typings/SIMULTAN/DataMapping/__init__.pyi +916 -0
  38. PySimultan2/typings/SIMULTAN/Excel/__init__.pyi +15 -0
  39. PySimultan2/typings/SIMULTAN/Exceptions/__init__.pyi +268 -0
  40. PySimultan2/typings/SIMULTAN/Exchange/SimNetworkConnectors/__init__.pyi +32 -0
  41. PySimultan2/typings/SIMULTAN/Exchange/__init__.pyi +116 -0
  42. PySimultan2/typings/SIMULTAN/Projects/ManagedFiles/__init__.pyi +433 -0
  43. PySimultan2/typings/SIMULTAN/Projects/__init__.pyi +435 -0
  44. PySimultan2/typings/SIMULTAN/Serializer/CODXF/__init__.pyi +103 -0
  45. PySimultan2/typings/SIMULTAN/Serializer/CSV/__init__.pyi +122 -0
  46. PySimultan2/typings/SIMULTAN/Serializer/DXF/__init__.pyi +1335 -0
  47. PySimultan2/typings/SIMULTAN/Serializer/Geometry/__init__.pyi +48 -0
  48. PySimultan2/typings/SIMULTAN/Serializer/JSON/__init__.pyi +562 -0
  49. PySimultan2/typings/SIMULTAN/Serializer/METADXF/__init__.pyi +11 -0
  50. PySimultan2/typings/SIMULTAN/Serializer/PADXF/__init__.pyi +21 -0
  51. PySimultan2/typings/SIMULTAN/Serializer/PPATH/__init__.pyi +11 -0
  52. PySimultan2/typings/SIMULTAN/Serializer/Projects/__init__.pyi +112 -0
  53. PySimultan2/typings/SIMULTAN/Serializer/SIMLINKS/__init__.pyi +5 -0
  54. PySimultan2/typings/SIMULTAN/Serializer/SPDXF/__init__.pyi +13 -0
  55. PySimultan2/typings/SIMULTAN/Serializer/SimGeo/__init__.pyi +54 -0
  56. PySimultan2/typings/SIMULTAN/Serializer/TXDXF/__init__.pyi +46 -0
  57. PySimultan2/typings/SIMULTAN/Serializer/XMI/__init__.pyi +22 -0
  58. PySimultan2/typings/SIMULTAN/Serializer/__init__.pyi +32 -0
  59. PySimultan2/typings/SIMULTAN/Utils/BackgroundWork/__init__.pyi +43 -0
  60. PySimultan2/typings/SIMULTAN/Utils/Collections/__init__.pyi +216 -0
  61. PySimultan2/typings/SIMULTAN/Utils/ElevationProvider/__init__.pyi +66 -0
  62. PySimultan2/typings/SIMULTAN/Utils/Files/__init__.pyi +48 -0
  63. PySimultan2/typings/SIMULTAN/Utils/Randomize/__init__.pyi +11 -0
  64. PySimultan2/typings/SIMULTAN/Utils/Streams/__init__.pyi +59 -0
  65. PySimultan2/typings/SIMULTAN/Utils/UndoRedo/__init__.pyi +133 -0
  66. PySimultan2/typings/SIMULTAN/Utils/__init__.pyi +570 -0
  67. PySimultan2/typings/System/Buffers/Binary/__init__.pyi +248 -0
  68. PySimultan2/typings/System/Buffers/Text/__init__.pyi +91 -0
  69. PySimultan2/typings/System/Buffers/__init__.pyi +192 -0
  70. PySimultan2/typings/System/CodeDom/Compiler/__init__.pyi +137 -0
  71. PySimultan2/typings/System/Collections/Concurrent/__init__.pyi +47 -0
  72. PySimultan2/typings/System/Collections/Generic/__init__.pyi +1293 -0
  73. PySimultan2/typings/System/Collections/ObjectModel/__init__.pyi +166 -0
  74. PySimultan2/typings/System/Collections/Specialized/__init__.pyi +82 -0
  75. PySimultan2/typings/System/Collections/__init__.pyi +403 -0
  76. PySimultan2/typings/System/ComponentModel/__init__.pyi +582 -0
  77. PySimultan2/typings/System/Configuration/Assemblies/__init__.pyi +30 -0
  78. PySimultan2/typings/System/Diagnostics/CodeAnalysis/__init__.pyi +315 -0
  79. PySimultan2/typings/System/Diagnostics/Contracts/__init__.pyi +297 -0
  80. PySimultan2/typings/System/Diagnostics/SymbolStore/__init__.pyi +9 -0
  81. PySimultan2/typings/System/Diagnostics/Tracing/__init__.pyi +641 -0
  82. PySimultan2/typings/System/Diagnostics/__init__.pyi +1101 -0
  83. PySimultan2/typings/System/Globalization/__init__.pyi +1675 -0
  84. PySimultan2/typings/System/IO/Enumeration/__init__.pyi +125 -0
  85. PySimultan2/typings/System/IO/__init__.pyi +2747 -0
  86. PySimultan2/typings/System/Linq/Expressions/__init__.pyi +1815 -0
  87. PySimultan2/typings/System/Net/__init__.pyi +81 -0
  88. PySimultan2/typings/System/Numerics/__init__.pyi +2853 -0
  89. PySimultan2/typings/System/Reflection/Emit/__init__.pyi +1945 -0
  90. PySimultan2/typings/System/Reflection/Metadata/__init__.pyi +24 -0
  91. PySimultan2/typings/System/Reflection/__init__.pyi +2724 -0
  92. PySimultan2/typings/System/Resources/__init__.pyi +205 -0
  93. PySimultan2/typings/System/Runtime/CompilerServices/__init__.pyi +1926 -0
  94. PySimultan2/typings/System/Runtime/ConstrainedExecution/__init__.pyi +49 -0
  95. PySimultan2/typings/System/Runtime/ExceptionServices/__init__.pyi +34 -0
  96. PySimultan2/typings/System/Runtime/InteropServices/ComTypes/__init__.pyi +758 -0
  97. PySimultan2/typings/System/Runtime/InteropServices/Marshalling/__init__.pyi +461 -0
  98. PySimultan2/typings/System/Runtime/InteropServices/ObjectiveC/__init__.pyi +48 -0
  99. PySimultan2/typings/System/Runtime/InteropServices/__init__.pyi +2632 -0
  100. PySimultan2/typings/System/Runtime/Intrinsics/Arm/__init__.pyi +4757 -0
  101. PySimultan2/typings/System/Runtime/Intrinsics/Wasm/__init__.pyi +844 -0
  102. PySimultan2/typings/System/Runtime/Intrinsics/X86/__init__.pyi +5642 -0
  103. PySimultan2/typings/System/Runtime/Intrinsics/__init__.pyi +4504 -0
  104. PySimultan2/typings/System/Runtime/Loader/__init__.pyi +63 -0
  105. PySimultan2/typings/System/Runtime/Remoting/__init__.pyi +7 -0
  106. PySimultan2/typings/System/Runtime/Serialization/__init__.pyi +269 -0
  107. PySimultan2/typings/System/Runtime/Versioning/__init__.pyi +200 -0
  108. PySimultan2/typings/System/Runtime/__init__.pyi +141 -0
  109. PySimultan2/typings/System/Security/Cryptography/__init__.pyi +39 -0
  110. PySimultan2/typings/System/Security/Permissions/__init__.pyi +163 -0
  111. PySimultan2/typings/System/Security/Principal/__init__.pyi +45 -0
  112. PySimultan2/typings/System/Security/__init__.pyi +347 -0
  113. PySimultan2/typings/System/Text/Unicode/__init__.pyi +62 -0
  114. PySimultan2/typings/System/Text/__init__.pyi +1590 -0
  115. PySimultan2/typings/System/Threading/Tasks/Sources/__init__.pyi +76 -0
  116. PySimultan2/typings/System/Threading/Tasks/__init__.pyi +1403 -0
  117. PySimultan2/typings/System/Threading/__init__.pyi +1788 -0
  118. PySimultan2/typings/System/Xml/Schema/__init__.pyi +1255 -0
  119. PySimultan2/typings/System/Xml/Serialization/__init__.pyi +16 -0
  120. PySimultan2/typings/System/Xml/XPath/__init__.pyi +474 -0
  121. PySimultan2/typings/System/Xml/__init__.pyi +2410 -0
  122. PySimultan2/typings/System/__init__.pyi +17821 -0
  123. PySimultan2/utils.py +10 -5
  124. {pysimultan-0.5.9.6.dist-info → pysimultan-0.6.0.1.dist-info}/METADATA +5 -1
  125. pysimultan-0.6.0.1.dist-info/RECORD +174 -0
  126. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll +0 -0
  127. PySimultan2/resources/SIMULTAN.AutoUpdate.Client.dll.config +0 -11
  128. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll +0 -0
  129. PySimultan2/resources/SIMULTAN.AutoUpdate.DataTransferLibrary.dll.config +0 -15
  130. PySimultan2/resources/SIMULTAN.Plugins.dll +0 -0
  131. PySimultan2/resources/SIMULTAN.Plugins.xml +0 -396
  132. pysimultan-0.5.9.6.dist-info/RECORD +0 -81
  133. {pysimultan-0.5.9.6.dist-info → pysimultan-0.6.0.1.dist-info}/WHEEL +0 -0
  134. {pysimultan-0.5.9.6.dist-info → pysimultan-0.6.0.1.dist-info}/licenses/LICENSE.txt +0 -0
@@ -0,0 +1,2219 @@
1
+ import typing, clr, abc
2
+ from SIMULTAN.Data.SimMath import SimPoint3D, SimVector3D, SimColor, SimVector, SimMatrix3D, SimSize, SimRect3D, SimQuaternion
3
+ from System import ValueTuple_2, Array_1, Action_1, EventArgs, MulticastDelegate, IAsyncResult, AsyncCallback, ValueTuple_3, ValueTuple_4, IEquatable_1, Exception, Guid, DateTime
4
+ from System.Collections.Generic import IEnumerable_1, List_1, HashSet_1, Dictionary_2, IReadOnlyCollection_1, IList_1, IEnumerator_1
5
+ from SIMULTAN.Utils import IntIndex3D, IDispatcherTimerFactory, IDispatcherTimer
6
+ from SIMULTAN.Utils.UndoRedo import IUndoItem, UndoExecutionResult
7
+ from SIMULTAN.Data.Components import SimComponent, SimInstancePlacementGeometry, SimInstancePlacement, SimParameterValueSource, SimComponentInstance, SimBaseParameter
8
+ from System.Collections.ObjectModel import ObservableCollection_1
9
+ from System.ComponentModel import INotifyPropertyChanged
10
+ from System.Reflection import MethodInfo, MethodBase
11
+ from System.IO import FileInfo
12
+ from SIMULTAN.Data.Assets import ResourceFileEntry, ResourceEntry
13
+ from SIMULTAN.Data.ValueMappings import SimValueMapping
14
+ from SIMULTAN.Exchange import ComponentGeometryExchange
15
+ from SIMULTAN.Utils.BackgroundWork import IBackgroundAlgorithmInfo
16
+ from SIMULTAN.Projects import ProjectData
17
+ from System.Collections import IDictionary
18
+ from SIMULTAN.Data.Taxonomy import SimTaxonomyEntry, SimTaxonomyEntryReferenceCollection, SimTaxonomyEntryReference
19
+ from System.Collections.Specialized import INotifyCollectionChanged
20
+ from SIMULTAN.Data import SimObjectNew_1, SimId, SimManagedCollection_1, IReferenceLocation
21
+
22
+ class AABB:
23
+ @typing.overload
24
+ def __init__(self, edge: Edge) -> None: ...
25
+ @typing.overload
26
+ def __init__(self, face: Face) -> None: ...
27
+ @typing.overload
28
+ def __init__(self, min: SimPoint3D, max: SimPoint3D, content: BaseGeometry) -> None: ...
29
+ @typing.overload
30
+ def __init__(self, vertex: Vertex) -> None: ...
31
+ @typing.overload
32
+ def __init__(self, volume: Volume) -> None: ...
33
+ @property
34
+ def Content(self) -> BaseGeometry: ...
35
+ @property
36
+ def Max(self) -> SimPoint3D: ...
37
+ @Max.setter
38
+ def Max(self, value: SimPoint3D) -> SimPoint3D: ...
39
+ @property
40
+ def Min(self) -> SimPoint3D: ...
41
+ @Min.setter
42
+ def Min(self, value: SimPoint3D) -> SimPoint3D: ...
43
+ @staticmethod
44
+ def Merge(items: IEnumerable_1[AABB]) -> ValueTuple_2[SimPoint3D, SimPoint3D]: ...
45
+
46
+
47
+ class AABBGrid:
48
+ def __init__(self, min: SimPoint3D, max: SimPoint3D, desiredCellSize: SimVector3D, maxCellSize: int = ...) -> None: ...
49
+ @property
50
+ def ActualCellSize(self) -> SimVector3D: ...
51
+ @ActualCellSize.setter
52
+ def ActualCellSize(self, value: SimVector3D) -> SimVector3D: ...
53
+ @property
54
+ def Cells(self) -> Array_1[List_1[AABB]]: ...
55
+ @Cells.setter
56
+ def Cells(self, value: Array_1[List_1[AABB]]) -> Array_1[List_1[AABB]]: ...
57
+ @property
58
+ def Item(self) -> IEnumerable_1[AABB]: ...
59
+ @property
60
+ def Max(self) -> SimPoint3D: ...
61
+ @Max.setter
62
+ def Max(self, value: SimPoint3D) -> SimPoint3D: ...
63
+ @property
64
+ def Min(self) -> SimPoint3D: ...
65
+ @Min.setter
66
+ def Min(self, value: SimPoint3D) -> SimPoint3D: ...
67
+ def Add(self, item: AABB) -> None: ...
68
+ def AddRange(self, items: IEnumerable_1[AABB]) -> None: ...
69
+ def ForCell(self, position: SimPoint3D, action: Action_1[IntIndex3D]) -> None: ...
70
+ def ForEachCell(self, item: AABB, action: Action_1[IntIndex3D]) -> None: ...
71
+ def Remove(self, item: AABB) -> None: ...
72
+
73
+
74
+ class ActiveGeometryChangedEventArgs(EventArgs):
75
+ def __init__(self, oldValue: BaseGeometry, newValue: BaseGeometry) -> None: ...
76
+ @property
77
+ def NewValue(self) -> BaseGeometry: ...
78
+ @NewValue.setter
79
+ def NewValue(self, value: BaseGeometry) -> BaseGeometry: ...
80
+ @property
81
+ def OldValue(self) -> BaseGeometry: ...
82
+ @OldValue.setter
83
+ def OldValue(self, value: BaseGeometry) -> BaseGeometry: ...
84
+
85
+
86
+ class AddGeometryRelationUndoItem(IUndoItem):
87
+ def __init__(self, relation: SimGeometryRelation, relations: SimGeometryRelationCollection) -> None: ...
88
+ def Execute(self) -> UndoExecutionResult: ...
89
+ def Redo(self) -> None: ...
90
+ def Undo(self) -> None: ...
91
+
92
+
93
+ class AddPlacementUndoItem(IUndoItem):
94
+ def __init__(self, geometry: BaseGeometry, component: SimComponent) -> None: ...
95
+ def Execute(self) -> UndoExecutionResult: ...
96
+ def Redo(self) -> None: ...
97
+ def Undo(self) -> None: ...
98
+
99
+
100
+ class BaseEdgeContainer(BaseGeometry):
101
+ def __init__(self, id: int, layer: Layer) -> None: ...
102
+ @property
103
+ def Color(self) -> DerivedColor: ...
104
+ @Color.setter
105
+ def Color(self, value: DerivedColor) -> DerivedColor: ...
106
+ @property
107
+ def Edges(self) -> ObservableCollection_1[PEdge]: ...
108
+ @property
109
+ def Faces(self) -> List_1[Face]: ...
110
+ @property
111
+ def Id(self) -> int: ...
112
+ @property
113
+ def IsActuallyVisible(self) -> bool: ...
114
+ @property
115
+ def IsVisible(self) -> bool: ...
116
+ @IsVisible.setter
117
+ def IsVisible(self, value: bool) -> bool: ...
118
+ @property
119
+ def Layer(self) -> Layer: ...
120
+ @Layer.setter
121
+ def Layer(self, value: Layer) -> Layer: ...
122
+ @property
123
+ def ModelGeometry(self) -> GeometryModelData: ...
124
+ @property
125
+ def Name(self) -> str: ...
126
+ @Name.setter
127
+ def Name(self, value: str) -> str: ...
128
+
129
+
130
+ class BaseGeometry(INotifyPropertyChanged, abc.ABC):
131
+ def __init__(self, id: int, layer: Layer) -> None: ...
132
+ @property
133
+ def Color(self) -> DerivedColor: ...
134
+ @Color.setter
135
+ def Color(self, value: DerivedColor) -> DerivedColor: ...
136
+ @property
137
+ def Id(self) -> int: ...
138
+ @Id.setter
139
+ def Id(self, value: int) -> int: ...
140
+ @property
141
+ def IsActuallyVisible(self) -> bool: ...
142
+ @property
143
+ def IsVisible(self) -> bool: ...
144
+ @IsVisible.setter
145
+ def IsVisible(self, value: bool) -> bool: ...
146
+ @property
147
+ def Layer(self) -> Layer: ...
148
+ @Layer.setter
149
+ def Layer(self, value: Layer) -> Layer: ...
150
+ @property
151
+ def ModelGeometry(self) -> GeometryModelData: ...
152
+ @property
153
+ def Name(self) -> str: ...
154
+ @Name.setter
155
+ def Name(self, value: str) -> str: ...
156
+ @abc.abstractmethod
157
+ def AddToModel(self) -> None: ...
158
+ @abc.abstractmethod
159
+ def MakeConsistent(self, notifyGeometryChanged: bool, hasTopologyChanged: bool) -> None: ...
160
+ def NotifyGeometryChanged(self) -> None: ...
161
+ def NotifyTopologyChanged(self) -> None: ...
162
+ def OnGeometryChanged(self, notifyGeometryChanged: bool) -> None: ...
163
+ def OnTopologyChanged(self) -> None: ...
164
+ @abc.abstractmethod
165
+ def RemoveFromModel(self) -> bool: ...
166
+
167
+ class GeometryEventHandler(MulticastDelegate):
168
+ def __init__(self, object: typing.Any, method: int) -> None: ...
169
+ @property
170
+ def Method(self) -> MethodInfo: ...
171
+ @property
172
+ def Target(self) -> typing.Any: ...
173
+ def BeginInvoke(self, sender: typing.Any, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
174
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
175
+ def Invoke(self, sender: typing.Any) -> None: ...
176
+
177
+
178
+
179
+ class BaseGeometryAlgorithms(abc.ABC):
180
+ @staticmethod
181
+ def GetVertices(geometry: BaseGeometry) -> List_1[Vertex]: ...
182
+
183
+
184
+ class BatchOperationGroupUndoItem(IUndoItem):
185
+ @typing.overload
186
+ def __init__(self, model: GeometryModelData) -> None: ...
187
+ @typing.overload
188
+ def __init__(self, model: GeometryModelData, items: List_1[IUndoItem]) -> None: ...
189
+ @typing.overload
190
+ def __init__(self, models: List_1[GeometryModelData]) -> None: ...
191
+ @typing.overload
192
+ def __init__(self, models: List_1[GeometryModelData], items: List_1[IUndoItem]) -> None: ...
193
+ @property
194
+ def Items(self) -> List_1[IUndoItem]: ...
195
+ @Items.setter
196
+ def Items(self, value: List_1[IUndoItem]) -> List_1[IUndoItem]: ...
197
+ @property
198
+ def Models(self) -> List_1[GeometryModelData]: ...
199
+ @Models.setter
200
+ def Models(self, value: List_1[GeometryModelData]) -> List_1[GeometryModelData]: ...
201
+ def Execute(self) -> UndoExecutionResult: ...
202
+ def Redo(self) -> None: ...
203
+ def Undo(self) -> None: ...
204
+
205
+
206
+ class ClipPlane:
207
+ @typing.overload
208
+ def __init__(self, normal: SimVector3D, distance: float) -> None: ...
209
+ @typing.overload
210
+ def __init__(self, plane: ClipPlane) -> None: ...
211
+ @typing.overload
212
+ def __init__(self, pointOnPlane: SimPoint3D, normal: SimVector3D) -> None: ...
213
+ @property
214
+ def Distance(self) -> float: ...
215
+ @Distance.setter
216
+ def Distance(self, value: float) -> float: ...
217
+ @property
218
+ def Normal(self) -> SimVector3D: ...
219
+ @Normal.setter
220
+ def Normal(self, value: SimVector3D) -> SimVector3D: ...
221
+ def IntersectLine(self, p0: SimPoint3D, p1: SimPoint3D, epsilon: float = ..., insideEpsilon: float = ...) -> ValueTuple_2[SimPoint3D, float]: ...
222
+ def IsInside(self, p: SimPoint3D) -> bool: ...
223
+
224
+
225
+ class DerivedColor(INotifyPropertyChanged):
226
+ @typing.overload
227
+ def __init__(self, color: SimColor, isFromParent: bool = ...) -> None: ...
228
+ @typing.overload
229
+ def __init__(self, source: DerivedColor) -> None: ...
230
+ @property
231
+ def Color(self) -> SimColor: ...
232
+ @Color.setter
233
+ def Color(self, value: SimColor) -> SimColor: ...
234
+ @property
235
+ def IsFromParent(self) -> bool: ...
236
+ @IsFromParent.setter
237
+ def IsFromParent(self, value: bool) -> bool: ...
238
+ @property
239
+ def LocalColor(self) -> SimColor: ...
240
+ @property
241
+ def Parent(self) -> typing.Any: ...
242
+ @Parent.setter
243
+ def Parent(self, value: typing.Any) -> typing.Any: ...
244
+ @property
245
+ def ParentColor(self) -> SimColor: ...
246
+
247
+
248
+ class DetectionAlgorithms(abc.ABC):
249
+ @staticmethod
250
+ def BestFittingPlane(points: IEnumerable_1[SimPoint3D]) -> ValueTuple_3[SimPoint3D, SimVector3D, float]: ...
251
+ @staticmethod
252
+ def DetectFacesFromEdges(edges: List_1[Edge], model: GeometryModelData) -> List_1[BaseGeometry]: ...
253
+ @staticmethod
254
+ def DirectionFromFaceAndEdge(face: Face, edge: PEdge) -> SimVector3D: ...
255
+ @staticmethod
256
+ def FindConnectedEdgeGroups(edges: IEnumerable_1[Edge]) -> Array_1[List_1[Edge]]: ...
257
+ @staticmethod
258
+ def FindConnectedEdgeLoopGroups(loops: IEnumerable_1[EdgeLoop]) -> Array_1[List_1[EdgeLoop]]: ...
259
+ @staticmethod
260
+ def ShortAngleDist(a0: float, a1: float) -> float: ...
261
+ # Skipped DetectXZFaces due to it being static, abstract and generic.
262
+
263
+ DetectXZFaces : DetectXZFaces_MethodGroup
264
+ class DetectXZFaces_MethodGroup:
265
+ @typing.overload
266
+ def __call__(self, model: GeometryModelData, tolerance: float) -> None:...
267
+ @typing.overload
268
+ def __call__(self, model: GeometryModelData, edges: IEnumerable_1[Edge], tolerance: float) -> None:...
269
+
270
+ # Skipped SignedAngle due to it being static, abstract and generic.
271
+
272
+ SignedAngle : SignedAngle_MethodGroup
273
+ class SignedAngle_MethodGroup:
274
+ @typing.overload
275
+ def __call__(self, v1: SimVector, v2: SimVector) -> float:...
276
+ @typing.overload
277
+ def __call__(self, v1: SimVector3D, v2: SimVector3D, vn: SimVector3D) -> float:...
278
+
279
+
280
+
281
+ class DummyOffsetSurfaceGenerator(abc.ABC):
282
+ # Skipped Update due to it being static, abstract and generic.
283
+
284
+ Update : Update_MethodGroup
285
+ class Update_MethodGroup:
286
+ @typing.overload
287
+ def __call__(self, model: GeometryModelData) -> None:...
288
+ @typing.overload
289
+ def __call__(self, model: GeometryModelData, invalidatedGeometry: IEnumerable_1[BaseGeometry]) -> IEnumerable_1[Face]:...
290
+
291
+
292
+
293
+ class Edge(BaseGeometry):
294
+ @typing.overload
295
+ def __init__(self, id: int, layer: Layer, nameFormat: str, vertices: IEnumerable_1[Vertex]) -> None: ...
296
+ @typing.overload
297
+ def __init__(self, layer: Layer, nameFormat: str, vertices: IEnumerable_1[Vertex]) -> None: ...
298
+ @property
299
+ def Color(self) -> DerivedColor: ...
300
+ @Color.setter
301
+ def Color(self, value: DerivedColor) -> DerivedColor: ...
302
+ @property
303
+ def Id(self) -> int: ...
304
+ @property
305
+ def IsActuallyVisible(self) -> bool: ...
306
+ @property
307
+ def IsVisible(self) -> bool: ...
308
+ @IsVisible.setter
309
+ def IsVisible(self, value: bool) -> bool: ...
310
+ @property
311
+ def Layer(self) -> Layer: ...
312
+ @Layer.setter
313
+ def Layer(self, value: Layer) -> Layer: ...
314
+ @property
315
+ def ModelGeometry(self) -> GeometryModelData: ...
316
+ @property
317
+ def Name(self) -> str: ...
318
+ @Name.setter
319
+ def Name(self, value: str) -> str: ...
320
+ @property
321
+ def PEdges(self) -> List_1[PEdge]: ...
322
+ @PEdges.setter
323
+ def PEdges(self, value: List_1[PEdge]) -> List_1[PEdge]: ...
324
+ @property
325
+ def Vertices(self) -> ObservableCollection_1[Vertex]: ...
326
+ @Vertices.setter
327
+ def Vertices(self, value: ObservableCollection_1[Vertex]) -> ObservableCollection_1[Vertex]: ...
328
+ def AddToModel(self) -> None: ...
329
+ def MakeConsistent(self, notifyGeometryChanged: bool, hasTopologyChanged: bool) -> None: ...
330
+ def RemoveFromModel(self) -> bool: ...
331
+
332
+
333
+ class EdgeAlgorithms(abc.ABC):
334
+ @staticmethod
335
+ def AdjacentFaces(e: Edge, faces: clr.Reference[HashSet_1[Face]]) -> None: ...
336
+ @staticmethod
337
+ def ContainedGeometry(e: Edge, geometries: clr.Reference[List_1[BaseGeometry]]) -> None: ...
338
+ @staticmethod
339
+ def EdgeEdgeIntersection(e1: Edge, e2: Edge, tolerance: float, endLineTolerance: float = ...) -> ValueTuple_3[bool, float, float]: ...
340
+ @staticmethod
341
+ def EdgeEdgeIntersection2D(e0p0: SimPoint3D, e0p1: SimPoint3D, e1p0: SimPoint3D, e1p1: SimPoint3D, tolerance: float) -> ValueTuple_3[bool, float, float]: ...
342
+ @staticmethod
343
+ def EdgePointIntersection(e1: Edge, p: SimPoint3D) -> ValueTuple_2[float, float]: ...
344
+ @staticmethod
345
+ def IntersectEdges(edge1: Edge, edge2: Edge, tolerance: float = ...) -> ValueTuple_3[Vertex, Array_1[Edge], IUndoItem]: ...
346
+ @staticmethod
347
+ def IsConnectedEdge(e1: Edge, e2: Edge) -> bool: ...
348
+ @staticmethod
349
+ def IsHorizontal(e: Edge, epsilon: float = ...) -> bool: ...
350
+ @staticmethod
351
+ def IsOnSameLine(e1: Edge, e2: Edge, tolerance: float) -> bool: ...
352
+ @staticmethod
353
+ def IsSimilarEdge(e1: Edge, e2: Edge) -> bool: ...
354
+ @staticmethod
355
+ def Length(edge: Edge) -> float: ...
356
+ @staticmethod
357
+ def OrderedPointLoop(edges: IEnumerable_1[Edge], matrix: SimMatrix3D) -> List_1[SimPoint3D]: ...
358
+ @staticmethod
359
+ def OrderedVertexLoop(edges: IEnumerable_1[Edge]) -> List_1[Vertex]: ...
360
+ @staticmethod
361
+ def ReplaceEdge(original: Edge, replacements: List_1[Edge]) -> None: ...
362
+ @staticmethod
363
+ def SplitEdge(e: Edge, splitPosition: SimPoint3D) -> ValueTuple_3[Vertex, Array_1[Edge], IUndoItem]: ...
364
+ # Skipped Direction due to it being static, abstract and generic.
365
+
366
+ Direction : Direction_MethodGroup
367
+ class Direction_MethodGroup:
368
+ @typing.overload
369
+ def __call__(self, e: Edge) -> SimVector3D:...
370
+ @typing.overload
371
+ def __call__(self, e: PEdge) -> SimVector3D:...
372
+
373
+ # Skipped OrderLoop due to it being static, abstract and generic.
374
+
375
+ OrderLoop : OrderLoop_MethodGroup
376
+ class OrderLoop_MethodGroup:
377
+ @typing.overload
378
+ def __call__(self, edges: IEnumerable_1[Edge]) -> ValueTuple_2[bool, List_1[Edge]]:...
379
+ @typing.overload
380
+ def __call__(self, edges: IEnumerable_1[PEdge]) -> ValueTuple_2[bool, List_1[PEdge]]:...
381
+
382
+
383
+
384
+ class EdgeLoop(BaseEdgeContainer):
385
+ @typing.overload
386
+ def __init__(self, id: int, layer: Layer, nameFormat: str, edges: IEnumerable_1[Edge]) -> None: ...
387
+ @typing.overload
388
+ def __init__(self, layer: Layer, nameFormat: str, edges: IEnumerable_1[Edge]) -> None: ...
389
+ @property
390
+ def Color(self) -> DerivedColor: ...
391
+ @Color.setter
392
+ def Color(self, value: DerivedColor) -> DerivedColor: ...
393
+ @property
394
+ def Edges(self) -> ObservableCollection_1[PEdge]: ...
395
+ @property
396
+ def Faces(self) -> List_1[Face]: ...
397
+ @property
398
+ def Id(self) -> int: ...
399
+ @property
400
+ def IsActuallyVisible(self) -> bool: ...
401
+ @property
402
+ def IsVisible(self) -> bool: ...
403
+ @IsVisible.setter
404
+ def IsVisible(self, value: bool) -> bool: ...
405
+ @property
406
+ def Layer(self) -> Layer: ...
407
+ @Layer.setter
408
+ def Layer(self, value: Layer) -> Layer: ...
409
+ @property
410
+ def ModelGeometry(self) -> GeometryModelData: ...
411
+ @property
412
+ def Name(self) -> str: ...
413
+ @Name.setter
414
+ def Name(self, value: str) -> str: ...
415
+ def AddToModel(self) -> None: ...
416
+ def MakeConsistent(self, notifyGeometryChanged: bool, hasTopologyChanged: bool) -> None: ...
417
+ def RemoveFromModel(self) -> bool: ...
418
+
419
+
420
+ class EdgeLoopAlgorithms(abc.ABC):
421
+ @staticmethod
422
+ def BoundaryFace(loop: EdgeLoop) -> Face: ...
423
+ @staticmethod
424
+ def Contains2D(polygon: List_1[SimPoint3D], point: SimPoint3D, tolerance: float, zTolerance: float) -> bool: ...
425
+ @staticmethod
426
+ def Extrude(inputLoop: EdgeLoop, distance: float, normal: SimVector3D) -> ValueTuple_2[List_1[BaseGeometry], EdgeLoop]: ...
427
+ @staticmethod
428
+ def Flip(loop: EdgeLoop) -> None: ...
429
+ @staticmethod
430
+ def HeightMinMax(loop: EdgeLoop) -> ValueTuple_2[float, float]: ...
431
+ @staticmethod
432
+ def IsSimilar(loop1: EdgeLoop, loop2: EdgeLoop) -> bool: ...
433
+ @staticmethod
434
+ def LoopToXYMapping(loop: EdgeLoop) -> SimMatrix3D: ...
435
+ @staticmethod
436
+ def Size(loop: EdgeLoop) -> SimSize: ...
437
+ @staticmethod
438
+ def StraightEdgeCount(loop: EdgeLoop, tolerance: float) -> int: ...
439
+ # Skipped Area due to it being static, abstract and generic.
440
+
441
+ Area : Area_MethodGroup
442
+ class Area_MethodGroup:
443
+ @typing.overload
444
+ def __call__(self, loop: EdgeLoop) -> float:...
445
+ @typing.overload
446
+ def __call__(self, boundary: IEnumerable_1[SimPoint3D]) -> float:...
447
+
448
+ # Skipped Contains due to it being static, abstract and generic.
449
+
450
+ Contains : Contains_MethodGroup
451
+ class Contains_MethodGroup:
452
+ @typing.overload
453
+ def __call__(self, loop: EdgeLoop, other: EdgeLoop, tolerance: float, zTolerance: float) -> GeometricRelation:...
454
+ @typing.overload
455
+ def __call__(self, l: EdgeLoop, v: SimPoint3D, tolerance: float, zTolerance: float) -> GeometricRelation:...
456
+ @typing.overload
457
+ def __call__(self, loop: List_1[Edge], other: List_1[Edge], mapping: SimMatrix3D, tolerance: float, zTolerance: float) -> GeometricRelation:...
458
+
459
+ # Skipped NormalCCW due to it being static, abstract and generic.
460
+
461
+ NormalCCW : NormalCCW_MethodGroup
462
+ class NormalCCW_MethodGroup:
463
+ @typing.overload
464
+ def __call__(self, edgeLoopPositions: List_1[SimPoint3D]) -> SimVector3D:...
465
+ @typing.overload
466
+ def __call__(self, loop: EdgeLoop) -> SimVector3D:...
467
+
468
+ # Skipped Perimeter due to it being static, abstract and generic.
469
+
470
+ Perimeter : Perimeter_MethodGroup
471
+ class Perimeter_MethodGroup:
472
+ @typing.overload
473
+ def __call__(self, polygon: List_1[SimPoint3D]) -> float:...
474
+ @typing.overload
475
+ def __call__(self, loop: EdgeLoop) -> float:...
476
+
477
+
478
+
479
+ class Face(BaseGeometry):
480
+ @typing.overload
481
+ def __init__(self, id: int, layer: Layer, nameFormat: str, boundary: EdgeLoop, orientation: GeometricOrientation = ..., holes: IEnumerable_1[EdgeLoop] = ..., baseEdge: Edge = ...) -> None: ...
482
+ @typing.overload
483
+ def __init__(self, layer: Layer, nameFormat: str, boundary: EdgeLoop, orientation: GeometricOrientation = ..., holes: IEnumerable_1[EdgeLoop] = ..., baseEdge: Edge = ...) -> None: ...
484
+ @property
485
+ def BaseEdge(self) -> Edge: ...
486
+ @BaseEdge.setter
487
+ def BaseEdge(self, value: Edge) -> Edge: ...
488
+ @property
489
+ def Boundary(self) -> EdgeLoop: ...
490
+ @Boundary.setter
491
+ def Boundary(self, value: EdgeLoop) -> EdgeLoop: ...
492
+ @property
493
+ def Color(self) -> DerivedColor: ...
494
+ @Color.setter
495
+ def Color(self, value: DerivedColor) -> DerivedColor: ...
496
+ @property
497
+ def Holes(self) -> ObservableCollection_1[EdgeLoop]: ...
498
+ @Holes.setter
499
+ def Holes(self, value: ObservableCollection_1[EdgeLoop]) -> ObservableCollection_1[EdgeLoop]: ...
500
+ @property
501
+ def Id(self) -> int: ...
502
+ @property
503
+ def IsActuallyVisible(self) -> bool: ...
504
+ @property
505
+ def IsVisible(self) -> bool: ...
506
+ @IsVisible.setter
507
+ def IsVisible(self, value: bool) -> bool: ...
508
+ @property
509
+ def Layer(self) -> Layer: ...
510
+ @Layer.setter
511
+ def Layer(self, value: Layer) -> Layer: ...
512
+ @property
513
+ def ModelGeometry(self) -> GeometryModelData: ...
514
+ @property
515
+ def Name(self) -> str: ...
516
+ @Name.setter
517
+ def Name(self, value: str) -> str: ...
518
+ @property
519
+ def Normal(self) -> SimVector3D: ...
520
+ @Normal.setter
521
+ def Normal(self, value: SimVector3D) -> SimVector3D: ...
522
+ @property
523
+ def Orientation(self) -> GeometricOrientation: ...
524
+ @Orientation.setter
525
+ def Orientation(self, value: GeometricOrientation) -> GeometricOrientation: ...
526
+ @property
527
+ def PFaces(self) -> List_1[PFace]: ...
528
+ @PFaces.setter
529
+ def PFaces(self, value: List_1[PFace]) -> List_1[PFace]: ...
530
+ def AddToModel(self) -> None: ...
531
+ def MakeConsistent(self, notifyGeometryChanged: bool, hasTopologyChanged: bool) -> None: ...
532
+ def RemoveFromModel(self) -> bool: ...
533
+
534
+
535
+ class FaceAlgorithms(abc.ABC):
536
+ @staticmethod
537
+ def AngleBetweenOrthogonalFaceDirections(currentFaceDirection: SimVector3D, edgeDirection: SimVector3D, otherFaceDirection: SimVector3D) -> float: ...
538
+ @staticmethod
539
+ def Area(f: Face) -> float: ...
540
+ @staticmethod
541
+ def AreaInnerOuter(f: Face) -> ValueTuple_3[float, float, float]: ...
542
+ @staticmethod
543
+ def AreaMinMax(f: Face) -> ValueTuple_3[float, float, float]: ...
544
+ @staticmethod
545
+ def Center(face: Face) -> SimPoint3D: ...
546
+ @staticmethod
547
+ def ContainedGeometry(f: Face, geometries: clr.Reference[List_1[BaseGeometry]]) -> None: ...
548
+ @staticmethod
549
+ def Contains(f: Face, v: SimPoint3D, tolerance: float, zTolerance: float) -> GeometricRelation: ...
550
+ @staticmethod
551
+ def FaceToXYMapping(face: Face, orientation: GeometricOrientation = ...) -> SimMatrix3D: ...
552
+ @staticmethod
553
+ def FindCommonVolume(faces: IEnumerable_1[Face], model: GeometryModelData) -> Volume: ...
554
+ @staticmethod
555
+ def FindOrthogonalDirectionInFace(inputEdge: Edge, face: Face, epsilon: float) -> SimVector3D: ...
556
+ @staticmethod
557
+ def Halfspace(face: Face, points: IEnumerable_1[SimPoint3D], tolerance: float = ...) -> GeometricOrientation: ...
558
+ @staticmethod
559
+ def HeightMinMax(f: Face) -> ValueTuple_2[float, float]: ...
560
+ @staticmethod
561
+ def HessianPlane(f: Face) -> ClipPlane: ...
562
+ @staticmethod
563
+ def IntersectsLine(face: Face, lineStart: SimPoint3D, lineEnd: SimPoint3D, tolerance: float = ...) -> bool: ...
564
+ @staticmethod
565
+ def IntersectsRay(face: Face, rayStart: SimPoint3D, rayDirection: SimVector3D, tolerance: float = ...) -> bool: ...
566
+ @staticmethod
567
+ def IsClosedHull(faces: IEnumerable_1[Face]) -> bool: ...
568
+ @staticmethod
569
+ def IsFaceOfHole(face: Face) -> bool: ...
570
+ @staticmethod
571
+ def IsFloorOrCeiling(f: Face) -> bool: ...
572
+ @staticmethod
573
+ def IsSamePlane(plane1: ValueTuple_2[SimVector3D, float], plane2: ValueTuple_2[SimVector3D, float], angleTolerance: float, distanceTolerance: float) -> bool: ...
574
+ @staticmethod
575
+ def Perimeter(f: Face) -> ValueTuple_2[float, float]: ...
576
+ @staticmethod
577
+ def Size(f: Face) -> ValueTuple_3[SimSize, SimSize, SimSize]: ...
578
+ @staticmethod
579
+ def SplitFace(f: Face) -> None: ...
580
+ @staticmethod
581
+ def XYSize(face: Face) -> SimSize: ...
582
+ # Skipped Contains2D due to it being static, abstract and generic.
583
+
584
+ Contains2D : Contains2D_MethodGroup
585
+ class Contains2D_MethodGroup:
586
+ @typing.overload
587
+ def __call__(self, f: Face, e: Edge, tolerance: float, zTolerance: float) -> GeometricRelation:...
588
+ @typing.overload
589
+ def __call__(self, fouter: Face, f: Face, tolerance: float, zTolerance: float) -> GeometricRelation:...
590
+
591
+ # Skipped Extrude due to it being static, abstract and generic.
592
+
593
+ Extrude : Extrude_MethodGroup
594
+ class Extrude_MethodGroup:
595
+ @typing.overload
596
+ def __call__(self, faces: IEnumerable_1[Face], referenceFace: Face, height: float) -> ValueTuple_3[List_1[BaseGeometry], List_1[Face], Face]:...
597
+ @typing.overload
598
+ def __call__(self, faces: IEnumerable_1[Face], referenceFace: Face, height: float, normal: SimVector3D) -> ValueTuple_3[List_1[BaseGeometry], List_1[Face], Face]:...
599
+
600
+ # Skipped IsCeiling due to it being static, abstract and generic.
601
+
602
+ IsCeiling : IsCeiling_MethodGroup
603
+ class IsCeiling_MethodGroup:
604
+ @typing.overload
605
+ def __call__(self, normal: SimVector3D) -> bool:...
606
+ @typing.overload
607
+ def __call__(self, f: PFace) -> bool:...
608
+
609
+ # Skipped IsFloor due to it being static, abstract and generic.
610
+
611
+ IsFloor : IsFloor_MethodGroup
612
+ class IsFloor_MethodGroup:
613
+ @typing.overload
614
+ def __call__(self, normal: SimVector3D) -> bool:...
615
+ @typing.overload
616
+ def __call__(self, f: PFace) -> bool:...
617
+
618
+ # Skipped OrientationIncline due to it being static, abstract and generic.
619
+
620
+ OrientationIncline : OrientationIncline_MethodGroup
621
+ class OrientationIncline_MethodGroup:
622
+ @typing.overload
623
+ def __call__(self, normal: SimVector3D, tolerance: float = ...) -> ValueTuple_2[float, float]:...
624
+ @typing.overload
625
+ def __call__(self, pface: PFace, tolerance: float = ...) -> ValueTuple_2[float, float]:...
626
+
627
+ # Skipped Triangulate due to it being static, abstract and generic.
628
+
629
+ Triangulate : Triangulate_MethodGroup
630
+ class Triangulate_MethodGroup:
631
+ @typing.overload
632
+ def __call__(self, face: Face, orientation: GeometricOrientation = ...) -> ValueTuple_3[List_1[SimPoint3D], List_1[SimVector3D], List_1[int]]:...
633
+ @typing.overload
634
+ def __call__(self, boundary: List_1[SimPoint3D], holes: IEnumerable_1[List_1[SimPoint3D]], normal: SimVector3D, orientation: GeometricOrientation = ...) -> ValueTuple_3[List_1[SimPoint3D], List_1[SimVector3D], List_1[int]]:...
635
+
636
+ # Skipped TriangulateBoundary due to it being static, abstract and generic.
637
+
638
+ TriangulateBoundary : TriangulateBoundary_MethodGroup
639
+ class TriangulateBoundary_MethodGroup:
640
+ @typing.overload
641
+ def __call__(self, face: PFace) -> ValueTuple_3[List_1[SimPoint3D], List_1[SimVector3D], List_1[int]]:...
642
+ @typing.overload
643
+ def __call__(self, face: Face, orientation: GeometricOrientation) -> ValueTuple_3[List_1[SimPoint3D], List_1[SimVector3D], List_1[int]]:...
644
+ @typing.overload
645
+ def __call__(self, boundary: List_1[SimPoint3D], normal: SimVector3D, orientation: GeometricOrientation = ...) -> ValueTuple_3[List_1[SimPoint3D], List_1[SimVector3D], List_1[int]]:...
646
+
647
+
648
+
649
+ class Frustum:
650
+ def __init__(self, clipPlanes: List_1[ClipPlane]) -> None: ...
651
+ @property
652
+ def Planes(self) -> List_1[ClipPlane]: ...
653
+ @Planes.setter
654
+ def Planes(self, value: List_1[ClipPlane]) -> List_1[ClipPlane]: ...
655
+ def Clip(self, ngon: List_1[SimPoint3D]) -> List_1[SimPoint3D]: ...
656
+ def IsNgonInside(self, ngon: List_1[SimPoint3D], allowPartially: bool = ...) -> bool: ...
657
+ def IsPointInside(self, p: SimPoint3D) -> bool: ...
658
+
659
+
660
+ class GeometricOrientation(typing.SupportsInt):
661
+ @typing.overload
662
+ def __init__(self, value : int) -> None: ...
663
+ @typing.overload
664
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
665
+ def __int__(self) -> int: ...
666
+
667
+ # Values:
668
+ Undefined : GeometricOrientation # 0
669
+ Forward : GeometricOrientation # 1
670
+ Backward : GeometricOrientation # -1
671
+
672
+
673
+ class GeometricRelation(typing.SupportsInt):
674
+ @typing.overload
675
+ def __init__(self, value : int) -> None: ...
676
+ @typing.overload
677
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
678
+ def __int__(self) -> int: ...
679
+
680
+ # Values:
681
+ Contained : GeometricRelation # 0
682
+ Intersecting : GeometricRelation # 1
683
+ None_ : GeometricRelation # 2
684
+
685
+
686
+ class GeometryAddUndoItem(IUndoItem):
687
+ def __init__(self, createdGeometry: List_1[BaseGeometry], model: GeometryModelData) -> None: ...
688
+ @property
689
+ def CreatedGeometry(self) -> List_1[BaseGeometry]: ...
690
+ def Execute(self) -> UndoExecutionResult: ...
691
+ def Redo(self) -> None: ...
692
+ def Undo(self) -> None: ...
693
+
694
+
695
+ class GeometryAlgorithms(abc.ABC):
696
+ @staticmethod
697
+ def ClosestPointOnLine(p: SimPoint3D, lineOrigin: SimPoint3D, lineDirection: SimVector3D) -> ValueTuple_2[SimPoint3D, float]: ...
698
+ @staticmethod
699
+ def LineLineClosestPoint(l0Origin: SimPoint3D, l0Direction: SimVector3D, l1Origin: SimPoint3D, l1Direction: SimVector3D) -> ValueTuple_4[SimPoint3D, float, SimPoint3D, float]: ...
700
+ @staticmethod
701
+ def LineLineDistance(l0Origin: SimPoint3D, l0Direction: SimVector3D, l1Origin: SimPoint3D, l1Direction: SimVector3D) -> float: ...
702
+ @staticmethod
703
+ def LineSegmentClosesPoint(segmentP0: SimPoint3D, segmentP1: SimPoint3D, rayOrigin: SimPoint3D, rayDirection: SimVector3D) -> ValueTuple_2[SimPoint3D, SimPoint3D]: ...
704
+ @staticmethod
705
+ def LineSegmentDistance(segmentP0: SimPoint3D, segmentP1: SimPoint3D, rayOrigin: SimPoint3D, rayDirection: SimVector3D) -> float: ...
706
+ @staticmethod
707
+ def TryOrthogonalize(reference: SimVector3D, toOrthogonalize: SimVector3D, epsilon: float, result: clr.Reference[SimVector3D]) -> bool: ...
708
+
709
+
710
+ class GeometryImporterCache:
711
+ def __init__(self) -> None: ...
712
+ def CacheImportedGeometry(self, file: FileInfo, geometry: SimMeshGeometryData) -> None: ...
713
+ def TryGetCachedImportedGeometry(self, file: FileInfo) -> SimMeshGeometryData: ...
714
+
715
+
716
+ class GeometryInvalidatedEventHandler(MulticastDelegate):
717
+ def __init__(self, object: typing.Any, method: int) -> None: ...
718
+ @property
719
+ def Method(self) -> MethodInfo: ...
720
+ @property
721
+ def Target(self) -> typing.Any: ...
722
+ def BeginInvoke(self, sender: typing.Any, affected_geometry: IEnumerable_1[BaseGeometry], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
723
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
724
+ def Invoke(self, sender: typing.Any, affected_geometry: IEnumerable_1[BaseGeometry]) -> None: ...
725
+
726
+
727
+ class GeometryModel(INotifyPropertyChanged):
728
+ def __init__(self, name: str, file: ResourceFileEntry, permissions: OperationPermission, geometry: GeometryModelData) -> None: ...
729
+ @property
730
+ def ActiveValueMapping(self) -> SimValueMapping: ...
731
+ @ActiveValueMapping.setter
732
+ def ActiveValueMapping(self, value: SimValueMapping) -> SimValueMapping: ...
733
+ @property
734
+ def CleanupTolerance(self) -> float: ...
735
+ @CleanupTolerance.setter
736
+ def CleanupTolerance(self, value: float) -> float: ...
737
+ @property
738
+ def Exchange(self) -> ComponentGeometryExchange: ...
739
+ @Exchange.setter
740
+ def Exchange(self, value: ComponentGeometryExchange) -> ComponentGeometryExchange: ...
741
+ @property
742
+ def File(self) -> ResourceFileEntry: ...
743
+ @File.setter
744
+ def File(self, value: ResourceFileEntry) -> ResourceFileEntry: ...
745
+ @property
746
+ def Geometry(self) -> GeometryModelData: ...
747
+ @Geometry.setter
748
+ def Geometry(self, value: GeometryModelData) -> GeometryModelData: ...
749
+ @property
750
+ def IsValueMappingEnabled(self) -> bool: ...
751
+ @IsValueMappingEnabled.setter
752
+ def IsValueMappingEnabled(self, value: bool) -> bool: ...
753
+ @property
754
+ def LinkedModels(self) -> ObservableCollection_1[GeometryModel]: ...
755
+ @LinkedModels.setter
756
+ def LinkedModels(self, value: ObservableCollection_1[GeometryModel]) -> ObservableCollection_1[GeometryModel]: ...
757
+ @property
758
+ def Name(self) -> str: ...
759
+ @Name.setter
760
+ def Name(self, value: str) -> str: ...
761
+ @property
762
+ def Permissions(self) -> OperationPermission: ...
763
+ @Permissions.setter
764
+ def Permissions(self, value: OperationPermission) -> OperationPermission: ...
765
+ @property
766
+ def ValueMappings(self) -> ObservableCollection_1[SimValueMapping]: ...
767
+
768
+
769
+ class GeometryModelAlgorithms(abc.ABC):
770
+ @staticmethod
771
+ def CheckConsistency(model: GeometryModelData) -> None: ...
772
+ @staticmethod
773
+ def CopyContent(from_: GeometryModelData, to: GeometryModelData, preserveIds: bool = ...) -> ValueTuple_2[Dictionary_2[BaseGeometry, BaseGeometry], Dictionary_2[Layer, Layer]]: ...
774
+ @staticmethod
775
+ def GetAllContainingGeometries(initialGeometry: IEnumerable_1[BaseGeometry]) -> List_1[BaseGeometry]: ...
776
+ @staticmethod
777
+ def GetAllVisibleGeometries(model: GeometryModelData) -> IEnumerable_1[BaseGeometry]: ...
778
+ @staticmethod
779
+ def SetAllVisibility(model: GeometryModelData, isVisible: bool) -> None: ...
780
+ @staticmethod
781
+ def UpdateGeometryModelWithExistingIds(oldGeometryModel: GeometryModelData, newGeometryModel: GeometryModelData, outGeometryModel: GeometryModelData) -> None: ...
782
+ # Skipped Boundary due to it being static, abstract and generic.
783
+
784
+ Boundary : Boundary_MethodGroup
785
+ class Boundary_MethodGroup:
786
+ @typing.overload
787
+ def __call__(self, geometry: IEnumerable_1[BaseGeometry], includeInvisible: bool) -> SimRect3D:...
788
+ @typing.overload
789
+ def __call__(self, models: IEnumerable_1[GeometryModelData], includeInvisible: bool) -> SimRect3D:...
790
+
791
+ # Skipped GetAllAffectedGeometries due to it being static, abstract and generic.
792
+
793
+ GetAllAffectedGeometries : GetAllAffectedGeometries_MethodGroup
794
+ class GetAllAffectedGeometries_MethodGroup:
795
+ @typing.overload
796
+ def __call__(self, initialGeometry: IEnumerable_1[Vertex]) -> List_1[BaseGeometry]:...
797
+ @typing.overload
798
+ def __call__(self, initialGeometry: IEnumerable_1[BaseGeometry]) -> List_1[BaseGeometry]:...
799
+
800
+
801
+
802
+ class GeometryModelData(INotifyPropertyChanged):
803
+ @typing.overload
804
+ def __init__(self, dispatcherTimer: IDispatcherTimerFactory) -> None: ...
805
+ @typing.overload
806
+ def __init__(self, nextId: int, dispatcherTimer: IDispatcherTimerFactory) -> None: ...
807
+ @property
808
+ def EdgeLoops(self) -> ObservableCollection_1[EdgeLoop]: ...
809
+ @EdgeLoops.setter
810
+ def EdgeLoops(self, value: ObservableCollection_1[EdgeLoop]) -> ObservableCollection_1[EdgeLoop]: ...
811
+ @property
812
+ def Edges(self) -> ObservableCollection_1[Edge]: ...
813
+ @Edges.setter
814
+ def Edges(self, value: ObservableCollection_1[Edge]) -> ObservableCollection_1[Edge]: ...
815
+ @property
816
+ def Faces(self) -> ObservableCollection_1[Face]: ...
817
+ @Faces.setter
818
+ def Faces(self, value: ObservableCollection_1[Face]) -> ObservableCollection_1[Face]: ...
819
+ @property
820
+ def Geometries(self) -> IEnumerable_1[BaseGeometry]: ...
821
+ @property
822
+ def GeoReferences(self) -> ObservableCollection_1[GeoReference]: ...
823
+ @GeoReferences.setter
824
+ def GeoReferences(self, value: ObservableCollection_1[GeoReference]) -> ObservableCollection_1[GeoReference]: ...
825
+ @property
826
+ def HandleConsistency(self) -> bool: ...
827
+ @property
828
+ def IsVisible(self) -> bool: ...
829
+ @IsVisible.setter
830
+ def IsVisible(self, value: bool) -> bool: ...
831
+ @property
832
+ def Layers(self) -> ObservableCollection_1[Layer]: ...
833
+ @Layers.setter
834
+ def Layers(self, value: ObservableCollection_1[Layer]) -> ObservableCollection_1[Layer]: ...
835
+ @property
836
+ def Model(self) -> GeometryModel: ...
837
+ @Model.setter
838
+ def Model(self, value: GeometryModel) -> GeometryModel: ...
839
+ @property
840
+ def OffsetModel(self) -> OffsetModel: ...
841
+ @OffsetModel.setter
842
+ def OffsetModel(self, value: OffsetModel) -> OffsetModel: ...
843
+ @property
844
+ def Polylines(self) -> ObservableCollection_1[Polyline]: ...
845
+ @Polylines.setter
846
+ def Polylines(self, value: ObservableCollection_1[Polyline]) -> ObservableCollection_1[Polyline]: ...
847
+ @property
848
+ def ProxyGeometries(self) -> ObservableCollection_1[ProxyGeometry]: ...
849
+ @ProxyGeometries.setter
850
+ def ProxyGeometries(self, value: ObservableCollection_1[ProxyGeometry]) -> ObservableCollection_1[ProxyGeometry]: ...
851
+ @property
852
+ def Vertices(self) -> ObservableCollection_1[Vertex]: ...
853
+ @Vertices.setter
854
+ def Vertices(self, value: ObservableCollection_1[Vertex]) -> ObservableCollection_1[Vertex]: ...
855
+ @property
856
+ def Volumes(self) -> ObservableCollection_1[Volume]: ...
857
+ @Volumes.setter
858
+ def Volumes(self, value: ObservableCollection_1[Volume]) -> ObservableCollection_1[Volume]: ...
859
+ def Clone(self) -> GeometryModelData: ...
860
+ def ContainsGeometry(self, geometry: BaseGeometry) -> bool: ...
861
+ def EndBatchOperation(self) -> None: ...
862
+ def FreeId(self, id: int) -> None: ...
863
+ def GeometryFromId(self, id: int) -> BaseGeometry: ...
864
+ def GetFreeId(self, increment: bool = ...) -> int: ...
865
+ def LayerFromId(self, id: int) -> Layer: ...
866
+ def MakeConsistent(self) -> None: ...
867
+ def NotifyTopologyChanged(self, sender: BaseGeometry) -> None: ...
868
+ def OnOperationFinished(self, affectedGeometries: IEnumerable_1[BaseGeometry]) -> None: ...
869
+ def RegisterId(self, id: int, geometry: BaseGeometry) -> None: ...
870
+ def StartBatchOperation(self) -> None: ...
871
+
872
+ class BaseGeometryEventHandler(MulticastDelegate):
873
+ def __init__(self, object: typing.Any, method: int) -> None: ...
874
+ @property
875
+ def Method(self) -> MethodInfo: ...
876
+ @property
877
+ def Target(self) -> typing.Any: ...
878
+ def BeginInvoke(self, sender: typing.Any, geometry: IEnumerable_1[BaseGeometry], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
879
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
880
+ def Invoke(self, sender: typing.Any, geometry: IEnumerable_1[BaseGeometry]) -> None: ...
881
+
882
+
883
+ class GeometryChangedEventHandler(MulticastDelegate):
884
+ def __init__(self, object: typing.Any, method: int) -> None: ...
885
+ @property
886
+ def Method(self) -> MethodInfo: ...
887
+ @property
888
+ def Target(self) -> typing.Any: ...
889
+ def BeginInvoke(self, sender: typing.Any, geometries: IEnumerable_1[BaseGeometry], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
890
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
891
+ def Invoke(self, sender: typing.Any, geometries: IEnumerable_1[BaseGeometry]) -> None: ...
892
+
893
+
894
+ class GeoReferencesChangedEventHandler(MulticastDelegate):
895
+ def __init__(self, object: typing.Any, method: int) -> None: ...
896
+ @property
897
+ def Method(self) -> MethodInfo: ...
898
+ @property
899
+ def Target(self) -> typing.Any: ...
900
+ def BeginInvoke(self, sender: typing.Any, geoReferences: IEnumerable_1[GeoReference], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
901
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
902
+ def Invoke(self, sender: typing.Any, geoReferences: IEnumerable_1[GeoReference]) -> None: ...
903
+
904
+
905
+ class OperationFinishedEventHandler(MulticastDelegate):
906
+ def __init__(self, object: typing.Any, method: int) -> None: ...
907
+ @property
908
+ def Method(self) -> MethodInfo: ...
909
+ @property
910
+ def Target(self) -> typing.Any: ...
911
+ def BeginInvoke(self, sender: typing.Any, affectedGeometries: IEnumerable_1[BaseGeometry], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
912
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
913
+ def Invoke(self, sender: typing.Any, affectedGeometries: IEnumerable_1[BaseGeometry]) -> None: ...
914
+
915
+
916
+ class TopologyChangedEventHandler(MulticastDelegate):
917
+ def __init__(self, object: typing.Any, method: int) -> None: ...
918
+ @property
919
+ def Method(self) -> MethodInfo: ...
920
+ @property
921
+ def Target(self) -> typing.Any: ...
922
+ def BeginInvoke(self, sender: typing.Any, geometries: IEnumerable_1[BaseGeometry], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
923
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
924
+ def Invoke(self, sender: typing.Any, geometries: IEnumerable_1[BaseGeometry]) -> None: ...
925
+
926
+
927
+
928
+ class GeometryModelOperationPermissions(typing.SupportsInt):
929
+ @typing.overload
930
+ def __init__(self, value : int) -> None: ...
931
+ @typing.overload
932
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
933
+ def __int__(self) -> int: ...
934
+
935
+ # Values:
936
+ None_ : GeometryModelOperationPermissions # 0
937
+ RemoveLinked : GeometryModelOperationPermissions # 1
938
+ AddLinked : GeometryModelOperationPermissions # 2
939
+ All : GeometryModelOperationPermissions # 18446744073709551615
940
+
941
+
942
+ class GeometryModelReplacedEventArgs(EventArgs):
943
+ def __init__(self, oldGeometry: GeometryModelData, newGeometry: GeometryModelData) -> None: ...
944
+ @property
945
+ def NewGeometry(self) -> GeometryModelData: ...
946
+ @property
947
+ def OldGeometry(self) -> GeometryModelData: ...
948
+
949
+
950
+ class GeometryOperationPermissions(typing.SupportsInt):
951
+ @typing.overload
952
+ def __init__(self, value : int) -> None: ...
953
+ @typing.overload
954
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
955
+ def __int__(self) -> int: ...
956
+
957
+ # Values:
958
+ None_ : GeometryOperationPermissions # 0
959
+ Select : GeometryOperationPermissions # 1
960
+ Move : GeometryOperationPermissions # 3
961
+ Delete : GeometryOperationPermissions # 5
962
+ Create : GeometryOperationPermissions # 8
963
+ Split : GeometryOperationPermissions # 17
964
+ Unsplit : GeometryOperationPermissions # 33
965
+ ModifyLayer : GeometryOperationPermissions # 65
966
+ ModifyName : GeometryOperationPermissions # 129
967
+ ModifyColor : GeometryOperationPermissions # 257
968
+ ModifyParent : GeometryOperationPermissions # 1025
969
+ All : GeometryOperationPermissions # 18446744073709551615
970
+
971
+
972
+ class GeometryRelationChangedEventArgs(EventArgs):
973
+ def __init__(self, relation: SimGeometryRelation) -> None: ...
974
+ @property
975
+ def Relation(self) -> SimGeometryRelation: ...
976
+
977
+
978
+ class GeometryRelationsFileMapping:
979
+ def __init__(self, fileId: int, path: str) -> None: ...
980
+ @property
981
+ def FileId(self) -> int: ...
982
+ @property
983
+ def FilePath(self) -> str: ...
984
+
985
+
986
+ class GeometryRemoveUndoItem(IUndoItem):
987
+ def __init__(self, deletedGeometry: List_1[BaseGeometry], model: GeometryModelData) -> None: ...
988
+ @property
989
+ def DeletedGeometry(self) -> List_1[BaseGeometry]: ...
990
+ def Execute(self) -> UndoExecutionResult: ...
991
+ def Redo(self) -> None: ...
992
+ def Undo(self) -> None: ...
993
+
994
+
995
+ class GeometrySelectionModel:
996
+ def __init__(self, models: ObservableCollection_1[GeometryModel]) -> None: ...
997
+ @property
998
+ def ActiveGeometry(self) -> BaseGeometry: ...
999
+ @ActiveGeometry.setter
1000
+ def ActiveGeometry(self, value: BaseGeometry) -> BaseGeometry: ...
1001
+ @property
1002
+ def SelectedGeometry(self) -> IReadOnlyCollection_1[BaseGeometry]: ...
1003
+ def Clear(self) -> None: ...
1004
+ def MakeConsistent(self) -> None: ...
1005
+ def ToggleSelection(self, geometry: BaseGeometry) -> None: ...
1006
+ # Skipped Deselect due to it being static, abstract and generic.
1007
+
1008
+ Deselect : Deselect_MethodGroup
1009
+ class Deselect_MethodGroup:
1010
+ @typing.overload
1011
+ def __call__(self, geometry: IEnumerable_1[BaseGeometry]) -> None:...
1012
+ @typing.overload
1013
+ def __call__(self, geometry: BaseGeometry) -> None:...
1014
+ @typing.overload
1015
+ def __call__(self, model: GeometryModelData) -> None:...
1016
+
1017
+ # Skipped IsSelected due to it being static, abstract and generic.
1018
+
1019
+ IsSelected : IsSelected_MethodGroup
1020
+ class IsSelected_MethodGroup:
1021
+ @typing.overload
1022
+ def __call__(self, geometry: BaseGeometry) -> bool:...
1023
+ @typing.overload
1024
+ def __call__(self, model: GeometryModelData) -> bool:...
1025
+
1026
+ # Skipped Select due to it being static, abstract and generic.
1027
+
1028
+ Select : Select_MethodGroup
1029
+ class Select_MethodGroup:
1030
+ @typing.overload
1031
+ def __call__(self, geometry: IEnumerable_1[BaseGeometry], clearSelection: bool) -> None:...
1032
+ @typing.overload
1033
+ def __call__(self, geometry: BaseGeometry, clearSelection: bool) -> None:...
1034
+ @typing.overload
1035
+ def __call__(self, model: GeometryModelData, clearSelection: bool) -> None:...
1036
+
1037
+
1038
+ class ActiveGeometryChangedEventHandler(MulticastDelegate):
1039
+ def __init__(self, object: typing.Any, method: int) -> None: ...
1040
+ @property
1041
+ def Method(self) -> MethodInfo: ...
1042
+ @property
1043
+ def Target(self) -> typing.Any: ...
1044
+ def BeginInvoke(self, sender: typing.Any, args: ActiveGeometryChangedEventArgs, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
1045
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
1046
+ def Invoke(self, sender: typing.Any, args: ActiveGeometryChangedEventArgs) -> None: ...
1047
+
1048
+
1049
+ class SelectionChangedEventArgs(EventArgs):
1050
+ def __init__(self, reason: GeometrySelectionModel.SelectionChangedReason, added: IEnumerable_1[BaseGeometry], removed: IEnumerable_1[BaseGeometry]) -> None: ...
1051
+ @property
1052
+ def Added(self) -> IEnumerable_1[BaseGeometry]: ...
1053
+ @Added.setter
1054
+ def Added(self, value: IEnumerable_1[BaseGeometry]) -> IEnumerable_1[BaseGeometry]: ...
1055
+ @property
1056
+ def Reason(self) -> GeometrySelectionModel.SelectionChangedReason: ...
1057
+ @Reason.setter
1058
+ def Reason(self, value: GeometrySelectionModel.SelectionChangedReason) -> GeometrySelectionModel.SelectionChangedReason: ...
1059
+ @property
1060
+ def Removed(self) -> IEnumerable_1[BaseGeometry]: ...
1061
+ @Removed.setter
1062
+ def Removed(self, value: IEnumerable_1[BaseGeometry]) -> IEnumerable_1[BaseGeometry]: ...
1063
+
1064
+
1065
+ class SelectionChangedEventHandler(MulticastDelegate):
1066
+ def __init__(self, object: typing.Any, method: int) -> None: ...
1067
+ @property
1068
+ def Method(self) -> MethodInfo: ...
1069
+ @property
1070
+ def Target(self) -> typing.Any: ...
1071
+ def BeginInvoke(self, sender: typing.Any, args: GeometrySelectionModel.SelectionChangedEventArgs, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
1072
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
1073
+ def Invoke(self, sender: typing.Any, args: GeometrySelectionModel.SelectionChangedEventArgs) -> None: ...
1074
+
1075
+
1076
+ class SelectionChangedReason(typing.SupportsInt):
1077
+ @typing.overload
1078
+ def __init__(self, value : int) -> None: ...
1079
+ @typing.overload
1080
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
1081
+ def __int__(self) -> int: ...
1082
+
1083
+ # Values:
1084
+ User : GeometrySelectionModel.SelectionChangedReason # 0
1085
+ UndoRedo : GeometrySelectionModel.SelectionChangedReason # 1
1086
+
1087
+
1088
+
1089
+ class GeometrySettings:
1090
+ def __init__(self) -> None: ...
1091
+ @property
1092
+ def CalculateOffsetSurfaces(self) -> bool: ...
1093
+ @CalculateOffsetSurfaces.setter
1094
+ def CalculateOffsetSurfaces(self, value: bool) -> bool: ...
1095
+ @classmethod
1096
+ @property
1097
+ def Instance(cls) -> GeometrySettings: ...
1098
+ @property
1099
+ def OffsetSurfaceRecalcDelay(self) -> int: ...
1100
+ @OffsetSurfaceRecalcDelay.setter
1101
+ def OffsetSurfaceRecalcDelay(self, value: int) -> int: ...
1102
+ @property
1103
+ def Tolerance(self) -> float: ...
1104
+ @Tolerance.setter
1105
+ def Tolerance(self, value: float) -> float: ...
1106
+ @property
1107
+ def ToleranceSquared(self) -> float: ...
1108
+
1109
+
1110
+ class GeoReference(INotifyPropertyChanged):
1111
+ def __init__(self, vertex: Vertex, reference: SimPoint3D) -> None: ...
1112
+ @property
1113
+ def ReferencePoint(self) -> SimPoint3D: ...
1114
+ @ReferencePoint.setter
1115
+ def ReferencePoint(self, value: SimPoint3D) -> SimPoint3D: ...
1116
+ @property
1117
+ def Vertex(self) -> Vertex: ...
1118
+ @Vertex.setter
1119
+ def Vertex(self, value: Vertex) -> Vertex: ...
1120
+
1121
+
1122
+ class GeoReferenceAlgorithms(abc.ABC):
1123
+ @staticmethod
1124
+ def CartToWGS84(point: SimPoint3D, precision: float = ..., maxIterations: int = ...) -> SimPoint3D: ...
1125
+ @staticmethod
1126
+ def ConvertToFlatEarth(wgsCoordinates: IEnumerable_1[SimPoint3D], wgsOrigin: SimPoint3D) -> IEnumerable_1[SimPoint3D]: ...
1127
+ @staticmethod
1128
+ def ConvertUTMToWGS84(utm: UTMCoord) -> SimPoint3D: ...
1129
+ @staticmethod
1130
+ def CreateAlignedWGSGrid(midPoint: SimPoint3D, widthInM: float, heightInM: float, spacingX: float, spacingY: float, toCartesian: bool = ...) -> Array_1[SimPoint3D]: ...
1131
+ @staticmethod
1132
+ def EstimateWGSNonLinear(positions: List_1[SimPoint3D], geoReferences: List_1[GeoRefPoint]) -> List_1[SimPoint3D]: ...
1133
+ @staticmethod
1134
+ def GeoReferenceMesh(positions: List_1[SimPoint3D], geoReferences: List_1[GeoRefPoint]) -> ValueTuple_2[List_1[SimPoint3D], List_1[SimPoint3D]]: ...
1135
+ @staticmethod
1136
+ def TangentFrame(p: SimPoint3D) -> ValueTuple_3[SimVector3D, SimVector3D, SimVector3D]: ...
1137
+ @staticmethod
1138
+ def ValidateGeoReferences(geoReferences: List_1[GeoRefPoint]) -> bool: ...
1139
+ @staticmethod
1140
+ def VincentyDirect(p: SimPoint3D, azimuth: float, distance: float, tolerance: float = ..., maxIterations: int = ...) -> ValueTuple_2[SimPoint3D, float]: ...
1141
+ @staticmethod
1142
+ def VincentyIndirect(source: SimPoint3D, dest: SimPoint3D, tolerance: float = ...) -> ValueTuple_2[float, float]: ...
1143
+ @staticmethod
1144
+ def WGS84ToCart(p: SimPoint3D) -> SimPoint3D: ...
1145
+
1146
+
1147
+ class GeoRefPoint:
1148
+ def __init__(self, OS: SimPoint3D, WGS: SimPoint3D) -> None: ...
1149
+ @property
1150
+ def OS(self) -> SimPoint3D: ...
1151
+ @OS.setter
1152
+ def OS(self, value: SimPoint3D) -> SimPoint3D: ...
1153
+ @property
1154
+ def WGS(self) -> SimPoint3D: ...
1155
+ @WGS.setter
1156
+ def WGS(self, value: SimPoint3D) -> SimPoint3D: ...
1157
+
1158
+
1159
+ class GeoRefTransform:
1160
+ def __init__(self, origin: GeoRefPoint, P1: GeoRefPoint, P2: GeoRefPoint) -> None: ...
1161
+ @property
1162
+ def Azimuth1(self) -> float: ...
1163
+ @Azimuth1.setter
1164
+ def Azimuth1(self, value: float) -> float: ...
1165
+ @property
1166
+ def Azimuth2(self) -> float: ...
1167
+ @Azimuth2.setter
1168
+ def Azimuth2(self, value: float) -> float: ...
1169
+ @property
1170
+ def RefOrigin(self) -> GeoRefPoint: ...
1171
+ @RefOrigin.setter
1172
+ def RefOrigin(self, value: GeoRefPoint) -> GeoRefPoint: ...
1173
+ @property
1174
+ def RefP1(self) -> GeoRefPoint: ...
1175
+ @RefP1.setter
1176
+ def RefP1(self, value: GeoRefPoint) -> GeoRefPoint: ...
1177
+ @property
1178
+ def RefP2(self) -> GeoRefPoint: ...
1179
+ @RefP2.setter
1180
+ def RefP2(self, value: GeoRefPoint) -> GeoRefPoint: ...
1181
+
1182
+
1183
+ class HoleCycleDetector:
1184
+ def __init__(self, nr_of_holes: int, verbose: bool) -> None: ...
1185
+ INVALID_INDEX : int
1186
+ @property
1187
+ def AllNodes(self) -> Dictionary_2[int, HoleCycleNode]: ...
1188
+ def AddConnectingLine(self, connecting_line: ValueTuple_4[int, int, int, int]) -> None: ...
1189
+ def GetAllHolesConnectedToOnlyOneOtherHoleInclIndirection(self) -> ValueTuple_2[bool, Dictionary_2[int, int]]: ...
1190
+ def RemoveConnectingLine(self, connecting_line: ValueTuple_4[int, int, int, int]) -> None: ...
1191
+
1192
+
1193
+ class HoleCycleNode:
1194
+ def __init__(self, index: int, verbose: bool) -> None: ...
1195
+ @property
1196
+ def Connected2Nnodes(self) -> Dictionary_2[ValueTuple_4[int, int, int, int], HoleCycleNode]: ...
1197
+ @property
1198
+ def Index(self) -> int: ...
1199
+ @property
1200
+ def Nodes(self) -> Dictionary_2[HoleCycleNode, int]: ...
1201
+ def Connect(self, connection: ValueTuple_4[int, int, int, int], node: HoleCycleNode) -> None: ...
1202
+ def Disconnect(self, connection: ValueTuple_4[int, int, int, int], node: HoleCycleNode) -> None: ...
1203
+ def ToString(self) -> str: ...
1204
+
1205
+
1206
+ class HoleRemoveUndoItem(IUndoItem):
1207
+ def __init__(self, face: Face, hole: EdgeLoop) -> None: ...
1208
+ def Execute(self) -> UndoExecutionResult: ...
1209
+ def Redo(self) -> None: ...
1210
+ def Undo(self) -> None: ...
1211
+
1212
+
1213
+ class ImportWarningMessage(IEquatable_1[ImportWarningMessage]):
1214
+ def __init__(self, reason: ImportWarningReason, data: Array_1[typing.Any]) -> None: ...
1215
+ @property
1216
+ def Data(self) -> Array_1[typing.Any]: ...
1217
+ @property
1218
+ def Reason(self) -> ImportWarningReason: ...
1219
+ def GetHashCode(self) -> int: ...
1220
+ def __eq__(self, lhs: ImportWarningMessage, rhs: ImportWarningMessage) -> bool: ...
1221
+ def __ne__(self, lhs: ImportWarningMessage, rhs: ImportWarningMessage) -> bool: ...
1222
+ # Skipped Equals due to it being static, abstract and generic.
1223
+
1224
+ Equals : Equals_MethodGroup
1225
+ class Equals_MethodGroup:
1226
+ @typing.overload
1227
+ def __call__(self, other: ImportWarningMessage) -> bool:...
1228
+ @typing.overload
1229
+ def __call__(self, obj: typing.Any) -> bool:...
1230
+
1231
+
1232
+
1233
+ class ImportWarningReason(typing.SupportsInt):
1234
+ @typing.overload
1235
+ def __init__(self, value : int) -> None: ...
1236
+ @typing.overload
1237
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
1238
+ def __int__(self) -> int: ...
1239
+
1240
+ # Values:
1241
+ FileNotFound : ImportWarningReason # 0
1242
+ ImportFailed : ImportWarningReason # 1
1243
+
1244
+
1245
+ class ImprovedOffsetSurfaceGenerator:
1246
+ def __init__(self) -> None: ...
1247
+ # Skipped Update due to it being static, abstract and generic.
1248
+
1249
+ Update : Update_MethodGroup
1250
+ class Update_MethodGroup:
1251
+ @typing.overload
1252
+ def __call__(self, model: GeometryModelData) -> None:...
1253
+ @typing.overload
1254
+ def __call__(self, model: GeometryModelData, invalidatedGeometry: IEnumerable_1[BaseGeometry]) -> IEnumerable_1[Face]:...
1255
+
1256
+
1257
+
1258
+ class IOffsetQueryable(typing.Protocol):
1259
+ @abc.abstractmethod
1260
+ def GetFaceOffset(self, _face: Face) -> ValueTuple_2[float, float]: ...
1261
+
1262
+
1263
+ class Layer(INotifyPropertyChanged):
1264
+ @typing.overload
1265
+ def __init__(self, id: int, model: GeometryModelData, name: str) -> None: ...
1266
+ @typing.overload
1267
+ def __init__(self, model: GeometryModelData, name: str) -> None: ...
1268
+ @property
1269
+ def Color(self) -> DerivedColor: ...
1270
+ @Color.setter
1271
+ def Color(self, value: DerivedColor) -> DerivedColor: ...
1272
+ @property
1273
+ def Elements(self) -> ObservableCollection_1[BaseGeometry]: ...
1274
+ @Elements.setter
1275
+ def Elements(self, value: ObservableCollection_1[BaseGeometry]) -> ObservableCollection_1[BaseGeometry]: ...
1276
+ @property
1277
+ def Id(self) -> int: ...
1278
+ @Id.setter
1279
+ def Id(self, value: int) -> int: ...
1280
+ @property
1281
+ def IsActuallyVisible(self) -> bool: ...
1282
+ @property
1283
+ def IsVisible(self) -> bool: ...
1284
+ @IsVisible.setter
1285
+ def IsVisible(self, value: bool) -> bool: ...
1286
+ @property
1287
+ def Layers(self) -> ObservableCollection_1[Layer]: ...
1288
+ @Layers.setter
1289
+ def Layers(self, value: ObservableCollection_1[Layer]) -> ObservableCollection_1[Layer]: ...
1290
+ @property
1291
+ def Model(self) -> GeometryModelData: ...
1292
+ @Model.setter
1293
+ def Model(self, value: GeometryModelData) -> GeometryModelData: ...
1294
+ @property
1295
+ def Name(self) -> str: ...
1296
+ @Name.setter
1297
+ def Name(self, value: str) -> str: ...
1298
+ @property
1299
+ def Parent(self) -> Layer: ...
1300
+ @Parent.setter
1301
+ def Parent(self, value: Layer) -> Layer: ...
1302
+ def FindInHierarchy(self, layerName: str) -> Layer: ...
1303
+
1304
+
1305
+ class LayerAlgorithms(abc.ABC):
1306
+ @staticmethod
1307
+ def DeleteLayerAndContent(layer: Layer) -> List_1[IUndoItem]: ...
1308
+
1309
+
1310
+ class LayerMoveUndoItem(IUndoItem):
1311
+ def __init__(self, layer: Layer, oldParent: Layer, newParent: Layer) -> None: ...
1312
+ def Execute(self) -> UndoExecutionResult: ...
1313
+ def Redo(self) -> None: ...
1314
+ def Undo(self) -> None: ...
1315
+
1316
+
1317
+ class LayerOperationPermissions(typing.SupportsInt):
1318
+ @typing.overload
1319
+ def __init__(self, value : int) -> None: ...
1320
+ @typing.overload
1321
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
1322
+ def __int__(self) -> int: ...
1323
+
1324
+ # Values:
1325
+ None_ : LayerOperationPermissions # 0
1326
+ Create : LayerOperationPermissions # 1
1327
+ Delete : LayerOperationPermissions # 2
1328
+ ModifyColor : LayerOperationPermissions # 4
1329
+ ModifyTopolgy : LayerOperationPermissions # 8
1330
+ ModifyName : LayerOperationPermissions # 16
1331
+ All : LayerOperationPermissions # 18446744073709551615
1332
+
1333
+
1334
+ class LayerReorderUndoItem(IUndoItem):
1335
+ def __init__(self, layer: Layer, oldParent: Layer, oldPos: int, newParent: Layer, newPos: int) -> None: ...
1336
+ @property
1337
+ def OldPos(self) -> int: ...
1338
+ def Execute(self) -> UndoExecutionResult: ...
1339
+ def Redo(self) -> None: ...
1340
+ def Undo(self) -> None: ...
1341
+
1342
+
1343
+ class ModelCleanupAlgorithms(abc.ABC):
1344
+ @staticmethod
1345
+ def RemoveDegeneratedFaces(model: GeometryModelData, areaTolerance: float, faceGrid: clr.Reference[AABBGrid], backgroundInfo: IBackgroundAlgorithmInfo = ...) -> int: ...
1346
+ @staticmethod
1347
+ def RemoveDuplicateEdges(model: GeometryModelData, edgeGrid: clr.Reference[AABBGrid], mergeTracker: ModelCleanupAlgorithms.MergeTracker_1[Edge] = ..., backgroundInfo: IBackgroundAlgorithmInfo = ...) -> int: ...
1348
+ @staticmethod
1349
+ def RemoveDuplicateFaces(model: GeometryModelData, faceGrid: clr.Reference[AABBGrid], mergeTracker: ModelCleanupAlgorithms.MergeTracker_1[Face] = ..., backgroundInfo: IBackgroundAlgorithmInfo = ...) -> int: ...
1350
+ @staticmethod
1351
+ def RemoveDuplicateHoleLoops(model: GeometryModelData, backgroundInfo: IBackgroundAlgorithmInfo = ...) -> int: ...
1352
+ @staticmethod
1353
+ def RemoveDuplicateHoles(model: GeometryModelData, backgroundInfo: IBackgroundAlgorithmInfo = ...) -> None: ...
1354
+ @staticmethod
1355
+ def RemoveDuplicateVertices(model: GeometryModelData, tolerance: float, vertexGrid: clr.Reference[AABBGrid], edgeGrid: clr.Reference[AABBGrid], mergeTracker: ModelCleanupAlgorithms.MergeTracker_1[Vertex] = ..., backgroundInfo: IBackgroundAlgorithmInfo = ...) -> int: ...
1356
+ @staticmethod
1357
+ def RemoveDuplicateVolumes(model: GeometryModelData, volumeGrid: clr.Reference[AABBGrid], mergeTracker: ModelCleanupAlgorithms.MergeTracker_1[Volume] = ..., backgroundInfo: IBackgroundAlgorithmInfo = ...) -> int: ...
1358
+ @staticmethod
1359
+ def RemoveErrorLayerIfEmpty(model: GeometryModelData, errorLayerName: str) -> None: ...
1360
+ @staticmethod
1361
+ def RemoveZeroLengthSubLoops(modelData: GeometryModelData, tolerance: float, backgroundInfo: IBackgroundAlgorithmInfo = ...) -> int: ...
1362
+ @staticmethod
1363
+ def SplitContainedFaces(model: GeometryModelData, tolerance: float, faceGrid: clr.Reference[AABBGrid], backgroundInfo: IBackgroundAlgorithmInfo = ...) -> None: ...
1364
+ @staticmethod
1365
+ def SplitEdgeEdgeIntersections(model: GeometryModelData, tolerance: float, edgeGrid: clr.Reference[AABBGrid], replacementTracker: ModelCleanupAlgorithms.ReplacementTracker_1[Edge] = ..., backgroundInfo: IBackgroundAlgorithmInfo = ...) -> int: ...
1366
+ @staticmethod
1367
+ def SplitEdgeVertexIntersections(model: GeometryModelData, tolerance: float, vertexGrid: clr.Reference[AABBGrid], edgeGrid: clr.Reference[AABBGrid], replacementTracker: ModelCleanupAlgorithms.ReplacementTracker_1[Edge] = ..., backgroundInfo: IBackgroundAlgorithmInfo = ...) -> int: ...
1368
+ @staticmethod
1369
+ def SplitFaces(model: GeometryModelData, tolerance: float, vertexGrid: clr.Reference[AABBGrid], faceGrid: clr.Reference[AABBGrid], errorLayerName: str, splitNameFormat: str = ..., replacementTracker: ModelCleanupAlgorithms.ReplacementTracker_1[Face] = ..., backgroundInfo: IBackgroundAlgorithmInfo = ...) -> ModelCleanupAlgorithms.SplitFaceResult: ...
1370
+ # Skipped ReassignComponentsAfterMerge due to it being static, abstract and generic.
1371
+
1372
+ ReassignComponentsAfterMerge : ReassignComponentsAfterMerge_MethodGroup
1373
+ class ReassignComponentsAfterMerge_MethodGroup:
1374
+ def __getitem__(self, t:typing.Type[ReassignComponentsAfterMerge_1_T1]) -> ReassignComponentsAfterMerge_1[ReassignComponentsAfterMerge_1_T1]: ...
1375
+
1376
+ ReassignComponentsAfterMerge_1_T1 = typing.TypeVar('ReassignComponentsAfterMerge_1_T1')
1377
+ class ReassignComponentsAfterMerge_1(typing.Generic[ReassignComponentsAfterMerge_1_T1]):
1378
+ ReassignComponentsAfterMerge_1_T = ModelCleanupAlgorithms.ReassignComponentsAfterMerge_MethodGroup.ReassignComponentsAfterMerge_1_T1
1379
+ def __call__(self, toMerge: List_1[ValueTuple_2[ReassignComponentsAfterMerge_1_T, HashSet_1[ReassignComponentsAfterMerge_1_T]]], originals: IList_1[ReassignComponentsAfterMerge_1_T], exchange: ComponentGeometryExchange, toReassociate: IList_1[ValueTuple_2[BaseGeometry, SimComponent]], toDeassociate: HashSet_1[SimInstancePlacementGeometry], replacementTracker: ModelCleanupAlgorithms.ReplacementTracker_1[ReassignComponentsAfterMerge_1_T] = ...) -> None:...
1380
+
1381
+
1382
+ # Skipped ReassignComponentsAfterReplacement due to it being static, abstract and generic.
1383
+
1384
+ ReassignComponentsAfterReplacement : ReassignComponentsAfterReplacement_MethodGroup
1385
+ class ReassignComponentsAfterReplacement_MethodGroup:
1386
+ def __getitem__(self, t:typing.Type[ReassignComponentsAfterReplacement_1_T1]) -> ReassignComponentsAfterReplacement_1[ReassignComponentsAfterReplacement_1_T1]: ...
1387
+
1388
+ ReassignComponentsAfterReplacement_1_T1 = typing.TypeVar('ReassignComponentsAfterReplacement_1_T1')
1389
+ class ReassignComponentsAfterReplacement_1(typing.Generic[ReassignComponentsAfterReplacement_1_T1]):
1390
+ ReassignComponentsAfterReplacement_1_T = ModelCleanupAlgorithms.ReassignComponentsAfterReplacement_MethodGroup.ReassignComponentsAfterReplacement_1_T1
1391
+ def __call__(self, toReplace: List_1[ValueTuple_2[ReassignComponentsAfterReplacement_1_T, List_1[ReassignComponentsAfterReplacement_1_T]]], originals: IList_1[ReassignComponentsAfterReplacement_1_T], exchange: ComponentGeometryExchange, toReassociate: IList_1[ValueTuple_2[BaseGeometry, SimComponent]], toDeassociate: HashSet_1[SimInstancePlacementGeometry]) -> None:...
1392
+
1393
+
1394
+ # Skipped ReassignRelationsAfterMerge due to it being static, abstract and generic.
1395
+
1396
+ ReassignRelationsAfterMerge : ReassignRelationsAfterMerge_MethodGroup
1397
+ class ReassignRelationsAfterMerge_MethodGroup:
1398
+ def __getitem__(self, t:typing.Type[ReassignRelationsAfterMerge_1_T1]) -> ReassignRelationsAfterMerge_1[ReassignRelationsAfterMerge_1_T1]: ...
1399
+
1400
+ ReassignRelationsAfterMerge_1_T1 = typing.TypeVar('ReassignRelationsAfterMerge_1_T1')
1401
+ class ReassignRelationsAfterMerge_1(typing.Generic[ReassignRelationsAfterMerge_1_T1]):
1402
+ ReassignRelationsAfterMerge_1_T = ModelCleanupAlgorithms.ReassignRelationsAfterMerge_MethodGroup.ReassignRelationsAfterMerge_1_T1
1403
+ def __call__(self, toMerge: List_1[ValueTuple_2[ReassignRelationsAfterMerge_1_T, HashSet_1[ReassignRelationsAfterMerge_1_T]]], originals: IList_1[ReassignRelationsAfterMerge_1_T], projectData: ProjectData, replacementTracker: ModelCleanupAlgorithms.ReplacementTracker_1[ReassignRelationsAfterMerge_1_T] = ...) -> List_1[IUndoItem]:...
1404
+
1405
+
1406
+ # Skipped ReassignRelationsAfterReplacement due to it being static, abstract and generic.
1407
+
1408
+ ReassignRelationsAfterReplacement : ReassignRelationsAfterReplacement_MethodGroup
1409
+ class ReassignRelationsAfterReplacement_MethodGroup:
1410
+ def __getitem__(self, t:typing.Type[ReassignRelationsAfterReplacement_1_T1]) -> ReassignRelationsAfterReplacement_1[ReassignRelationsAfterReplacement_1_T1]: ...
1411
+
1412
+ ReassignRelationsAfterReplacement_1_T1 = typing.TypeVar('ReassignRelationsAfterReplacement_1_T1')
1413
+ class ReassignRelationsAfterReplacement_1(typing.Generic[ReassignRelationsAfterReplacement_1_T1]):
1414
+ ReassignRelationsAfterReplacement_1_T = ModelCleanupAlgorithms.ReassignRelationsAfterReplacement_MethodGroup.ReassignRelationsAfterReplacement_1_T1
1415
+ def __call__(self, toReplace: List_1[ValueTuple_2[ReassignRelationsAfterReplacement_1_T, List_1[ReassignRelationsAfterReplacement_1_T]]], originals: IList_1[ReassignRelationsAfterReplacement_1_T], projectData: ProjectData) -> List_1[IUndoItem]:...
1416
+
1417
+
1418
+
1419
+ class MergeTracker_GenericClasses(abc.ABCMeta):
1420
+ Generic_MergeTracker_GenericClasses_MergeTracker_1_T = typing.TypeVar('Generic_MergeTracker_GenericClasses_MergeTracker_1_T')
1421
+ def __getitem__(self, types : typing.Type[Generic_MergeTracker_GenericClasses_MergeTracker_1_T]) -> typing.Type[ModelCleanupAlgorithms.MergeTracker_1[Generic_MergeTracker_GenericClasses_MergeTracker_1_T]]: ...
1422
+
1423
+ MergeTracker : MergeTracker_GenericClasses
1424
+
1425
+ MergeTracker_1_T = typing.TypeVar('MergeTracker_1_T')
1426
+ class MergeTracker_1(typing.Generic[MergeTracker_1_T]):
1427
+ MergeTracker_1_T = ModelCleanupAlgorithms.MergeTracker_1_T
1428
+ def __init__(self) -> None: ...
1429
+ @property
1430
+ def Tracked(self) -> List_1[ModelCleanupAlgorithms.MergeTracker_1.MergeTrackEntry_1[MergeTracker_1_T]]: ...
1431
+ def AsList(self) -> List_1[ValueTuple_2[MergeTracker_1_T, HashSet_1[MergeTracker_1_T]]]: ...
1432
+ def Track(self, a: MergeTracker_1_T, b: MergeTracker_1_T) -> None: ...
1433
+ # Skipped MergeWith due to it being static, abstract and generic.
1434
+
1435
+ MergeWith : MergeWith_MethodGroup[MergeTracker_1_T]
1436
+ MergeWith_MethodGroup_MergeTracker_1_T = typing.TypeVar('MergeWith_MethodGroup_MergeTracker_1_T')
1437
+ class MergeWith_MethodGroup(typing.Generic[MergeWith_MethodGroup_MergeTracker_1_T]):
1438
+ MergeWith_MethodGroup_MergeTracker_1_T = ModelCleanupAlgorithms.MergeTracker_1.MergeWith_MethodGroup_MergeTracker_1_T
1439
+ @typing.overload
1440
+ def __call__(self, other: List_1[ValueTuple_2[MergeWith_MethodGroup_MergeTracker_1_T, HashSet_1[MergeWith_MethodGroup_MergeTracker_1_T]]]) -> None:...
1441
+ @typing.overload
1442
+ def __call__(self, other: ModelCleanupAlgorithms.MergeTracker_1[MergeWith_MethodGroup_MergeTracker_1_T]) -> None:...
1443
+
1444
+
1445
+ MergeTrackEntry_GenericClasses_MergeTracker_1_T = typing.TypeVar('MergeTrackEntry_GenericClasses_MergeTracker_1_T')
1446
+ class MergeTrackEntry_GenericClasses(typing.Generic[MergeTrackEntry_GenericClasses_MergeTracker_1_T], abc.ABCMeta):
1447
+ MergeTrackEntry_GenericClasses_MergeTracker_1_T = ModelCleanupAlgorithms.MergeTracker_1.MergeTrackEntry_GenericClasses_MergeTracker_1_T
1448
+ def __call__(self) -> ModelCleanupAlgorithms.MergeTracker_1.MergeTrackEntry_1[MergeTrackEntry_GenericClasses_MergeTracker_1_T]: ...
1449
+
1450
+ MergeTrackEntry : MergeTrackEntry_GenericClasses[MergeTracker_1_T]
1451
+
1452
+ MergeTrackEntry_1_T = typing.TypeVar('MergeTrackEntry_1_T')
1453
+ class MergeTrackEntry_1(typing.Generic[MergeTrackEntry_1_T]):
1454
+ MergeTrackEntry_1_T = ModelCleanupAlgorithms.MergeTracker_1.MergeTrackEntry_1_T
1455
+ def __init__(self, entries: IEnumerable_1[MergeTrackEntry_1_T], lastEntry: MergeTrackEntry_1_T) -> None: ...
1456
+ @property
1457
+ def Entries(self) -> HashSet_1[MergeTrackEntry_1_T]: ...
1458
+ @property
1459
+ def LastEntry(self) -> MergeTrackEntry_1_T: ...
1460
+ @LastEntry.setter
1461
+ def LastEntry(self, value: MergeTrackEntry_1_T) -> MergeTrackEntry_1_T: ...
1462
+
1463
+
1464
+
1465
+ class ReplacementTracker_GenericClasses(abc.ABCMeta):
1466
+ Generic_ReplacementTracker_GenericClasses_ReplacementTracker_1_T = typing.TypeVar('Generic_ReplacementTracker_GenericClasses_ReplacementTracker_1_T')
1467
+ def __getitem__(self, types : typing.Type[Generic_ReplacementTracker_GenericClasses_ReplacementTracker_1_T]) -> typing.Type[ModelCleanupAlgorithms.ReplacementTracker_1[Generic_ReplacementTracker_GenericClasses_ReplacementTracker_1_T]]: ...
1468
+
1469
+ ReplacementTracker : ReplacementTracker_GenericClasses
1470
+
1471
+ ReplacementTracker_1_T = typing.TypeVar('ReplacementTracker_1_T')
1472
+ class ReplacementTracker_1(typing.Generic[ReplacementTracker_1_T]):
1473
+ ReplacementTracker_1_T = ModelCleanupAlgorithms.ReplacementTracker_1_T
1474
+ def __init__(self) -> None: ...
1475
+ def FindOriginal(self, geom: ReplacementTracker_1_T) -> ReplacementTracker_1_T: ...
1476
+ def GetReplacements(self) -> List_1[ValueTuple_2[ReplacementTracker_1_T, List_1[ReplacementTracker_1_T]]]: ...
1477
+ def MergeWith(self, other: ModelCleanupAlgorithms.ReplacementTracker_1[ReplacementTracker_1_T]) -> None: ...
1478
+ def Track(self, oldGeom: ReplacementTracker_1_T, newGeom: IEnumerable_1[ReplacementTracker_1_T]) -> None: ...
1479
+
1480
+
1481
+ class SplitFaceResult:
1482
+ exception : Exception
1483
+ exceptionFace : Face
1484
+ success : bool
1485
+ warningGeometry : List_1[BaseGeometry]
1486
+
1487
+
1488
+
1489
+ class ModelCompleteStateUndoItem(IUndoItem):
1490
+ def __init__(self, newGeometry: GeometryModelData, targetModel: GeometryModel) -> None: ...
1491
+ def Execute(self) -> UndoExecutionResult: ...
1492
+ def Redo(self) -> None: ...
1493
+ def Undo(self) -> None: ...
1494
+
1495
+
1496
+ class ModelInconsistentException(Exception):
1497
+ def __init__(self, msg: str) -> None: ...
1498
+ @property
1499
+ def Data(self) -> IDictionary: ...
1500
+ @property
1501
+ def HelpLink(self) -> str: ...
1502
+ @HelpLink.setter
1503
+ def HelpLink(self, value: str) -> str: ...
1504
+ @property
1505
+ def HResult(self) -> int: ...
1506
+ @HResult.setter
1507
+ def HResult(self, value: int) -> int: ...
1508
+ @property
1509
+ def InnerException(self) -> Exception: ...
1510
+ @property
1511
+ def Message(self) -> str: ...
1512
+ @property
1513
+ def Source(self) -> str: ...
1514
+ @Source.setter
1515
+ def Source(self, value: str) -> str: ...
1516
+ @property
1517
+ def StackTrace(self) -> str: ...
1518
+ @property
1519
+ def TargetSite(self) -> MethodBase: ...
1520
+
1521
+
1522
+ class OffsetAlgorithm(typing.SupportsInt):
1523
+ @typing.overload
1524
+ def __init__(self, value : int) -> None: ...
1525
+ @typing.overload
1526
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
1527
+ def __int__(self) -> int: ...
1528
+
1529
+ # Values:
1530
+ Full : OffsetAlgorithm # 0
1531
+ Fast : OffsetAlgorithm # 1
1532
+ Disabled : OffsetAlgorithm # 2
1533
+
1534
+
1535
+ class OffsetFace:
1536
+ def __init__(self, face: Face, orientation: GeometricOrientation) -> None: ...
1537
+ @property
1538
+ def Boundary(self) -> List_1[SimPoint3D]: ...
1539
+ @property
1540
+ def Face(self) -> Face: ...
1541
+ @property
1542
+ def Offset(self) -> float: ...
1543
+ @Offset.setter
1544
+ def Offset(self, value: float) -> float: ...
1545
+ @property
1546
+ def Openings(self) -> Dictionary_2[EdgeLoop, List_1[SimPoint3D]]: ...
1547
+ @property
1548
+ def Orientation(self) -> GeometricOrientation: ...
1549
+
1550
+
1551
+ class OffsetModel:
1552
+ def __init__(self, model: GeometryModelData, dispatcherTimer: IDispatcherTimer) -> None: ...
1553
+ @property
1554
+ def Faces(self) -> Dictionary_2[ValueTuple_2[Face, GeometricOrientation], OffsetFace]: ...
1555
+ @Faces.setter
1556
+ def Faces(self, value: Dictionary_2[ValueTuple_2[Face, GeometricOrientation], OffsetFace]) -> Dictionary_2[ValueTuple_2[Face, GeometricOrientation], OffsetFace]: ...
1557
+ @property
1558
+ def Generator(self) -> OffsetSurfaceGenerator: ...
1559
+ @Generator.setter
1560
+ def Generator(self, value: OffsetSurfaceGenerator) -> OffsetSurfaceGenerator: ...
1561
+ @property
1562
+ def HandleGeometryInvalidated(self) -> bool: ...
1563
+ @HandleGeometryInvalidated.setter
1564
+ def HandleGeometryInvalidated(self, value: bool) -> bool: ...
1565
+ @property
1566
+ def Model(self) -> GeometryModelData: ...
1567
+ @Model.setter
1568
+ def Model(self, value: GeometryModelData) -> GeometryModelData: ...
1569
+ def OnOffsetSurfaceChanged(self, faces: IEnumerable_1[Face]) -> None: ...
1570
+
1571
+ class OffsetChangedEventHandler(MulticastDelegate):
1572
+ def __init__(self, object: typing.Any, method: int) -> None: ...
1573
+ @property
1574
+ def Method(self) -> MethodInfo: ...
1575
+ @property
1576
+ def Target(self) -> typing.Any: ...
1577
+ def BeginInvoke(self, sender: typing.Any, modifiedFaces: IEnumerable_1[Face], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
1578
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
1579
+ def Invoke(self, sender: typing.Any, modifiedFaces: IEnumerable_1[Face]) -> None: ...
1580
+
1581
+
1582
+
1583
+ class OffsetSurfaceAlgorithms(abc.ABC):
1584
+ @staticmethod
1585
+ def ConvertToModel(faces: IEnumerable_1[OffsetFace], transformation: SimMatrix3D, dispatcherTimer: IDispatcherTimerFactory, tolerance: float = ...) -> GeometryModelData: ...
1586
+
1587
+
1588
+ class OffsetSurfaceGenerator:
1589
+ def __init__(self, model: GeometryModelData, dispatcherTimer: IDispatcherTimer) -> None: ...
1590
+ @property
1591
+ def Algorithm(self) -> OffsetAlgorithm: ...
1592
+ @Algorithm.setter
1593
+ def Algorithm(self, value: OffsetAlgorithm) -> OffsetAlgorithm: ...
1594
+ # Skipped Update due to it being static, abstract and generic.
1595
+
1596
+ Update : Update_MethodGroup
1597
+ class Update_MethodGroup:
1598
+ @typing.overload
1599
+ def __call__(self, calculateSurfaces: bool = ...) -> None:...
1600
+ @typing.overload
1601
+ def __call__(self, invalidatedGeometry: IEnumerable_1[BaseGeometry], calculateSurfaces: bool = ...) -> IEnumerable_1[Face]:...
1602
+
1603
+
1604
+
1605
+ class OperationPermission:
1606
+ def __init__(self, modelPermissions: GeometryModelOperationPermissions, geometryPermissions: GeometryOperationPermissions, layerPermissions: LayerOperationPermissions) -> None: ...
1607
+ @classmethod
1608
+ @property
1609
+ def All(cls) -> OperationPermission: ...
1610
+ @classmethod
1611
+ @property
1612
+ def DefaultNetworkPermissions(cls) -> OperationPermission: ...
1613
+ @classmethod
1614
+ @property
1615
+ def DefaultSimNetworkPermissions(cls) -> OperationPermission: ...
1616
+ @classmethod
1617
+ @property
1618
+ def DefaultWallModelPermissions(cls) -> OperationPermission: ...
1619
+ @property
1620
+ def GeometryPermissions(self) -> GeometryOperationPermissions: ...
1621
+ @GeometryPermissions.setter
1622
+ def GeometryPermissions(self, value: GeometryOperationPermissions) -> GeometryOperationPermissions: ...
1623
+ @property
1624
+ def LayerPermissions(self) -> LayerOperationPermissions: ...
1625
+ @LayerPermissions.setter
1626
+ def LayerPermissions(self, value: LayerOperationPermissions) -> LayerOperationPermissions: ...
1627
+ @property
1628
+ def ModelPermissions(self) -> GeometryModelOperationPermissions: ...
1629
+ @ModelPermissions.setter
1630
+ def ModelPermissions(self, value: GeometryModelOperationPermissions) -> GeometryModelOperationPermissions: ...
1631
+ # Skipped property None since it is a reserved python word. Use reflection to access.
1632
+
1633
+
1634
+ class PEdge:
1635
+ def __init__(self, edge: Edge, orientation: GeometricOrientation, parent: BaseEdgeContainer) -> None: ...
1636
+ @property
1637
+ def Edge(self) -> Edge: ...
1638
+ @Edge.setter
1639
+ def Edge(self, value: Edge) -> Edge: ...
1640
+ @property
1641
+ def EndVertex(self) -> Vertex: ...
1642
+ @property
1643
+ def Next(self) -> PEdge: ...
1644
+ @Next.setter
1645
+ def Next(self, value: PEdge) -> PEdge: ...
1646
+ @property
1647
+ def Orientation(self) -> GeometricOrientation: ...
1648
+ @Orientation.setter
1649
+ def Orientation(self, value: GeometricOrientation) -> GeometricOrientation: ...
1650
+ @property
1651
+ def Parent(self) -> BaseEdgeContainer: ...
1652
+ @Parent.setter
1653
+ def Parent(self, value: BaseEdgeContainer) -> BaseEdgeContainer: ...
1654
+ @property
1655
+ def Prev(self) -> PEdge: ...
1656
+ @Prev.setter
1657
+ def Prev(self, value: PEdge) -> PEdge: ...
1658
+ @property
1659
+ def StartVertex(self) -> Vertex: ...
1660
+ def MakeConsistent(self) -> None: ...
1661
+
1662
+
1663
+ class PFace:
1664
+ def __init__(self, face: Face, volume: Volume, orientation: GeometricOrientation) -> None: ...
1665
+ @property
1666
+ def Face(self) -> Face: ...
1667
+ @Face.setter
1668
+ def Face(self, value: Face) -> Face: ...
1669
+ @property
1670
+ def Orientation(self) -> GeometricOrientation: ...
1671
+ @Orientation.setter
1672
+ def Orientation(self, value: GeometricOrientation) -> GeometricOrientation: ...
1673
+ @property
1674
+ def Volume(self) -> Volume: ...
1675
+ @Volume.setter
1676
+ def Volume(self, value: Volume) -> Volume: ...
1677
+ def MakeConsistent(self) -> None: ...
1678
+
1679
+
1680
+ class Polyline(BaseEdgeContainer):
1681
+ @typing.overload
1682
+ def __init__(self, id: int, layer: Layer, nameFormat: str, edges: IEnumerable_1[Edge]) -> None: ...
1683
+ @typing.overload
1684
+ def __init__(self, layer: Layer, nameFormat: str, edges: IEnumerable_1[Edge]) -> None: ...
1685
+ @property
1686
+ def Color(self) -> DerivedColor: ...
1687
+ @Color.setter
1688
+ def Color(self, value: DerivedColor) -> DerivedColor: ...
1689
+ @property
1690
+ def Edges(self) -> ObservableCollection_1[PEdge]: ...
1691
+ @property
1692
+ def Faces(self) -> List_1[Face]: ...
1693
+ @property
1694
+ def Id(self) -> int: ...
1695
+ @property
1696
+ def IsActuallyVisible(self) -> bool: ...
1697
+ @property
1698
+ def IsVisible(self) -> bool: ...
1699
+ @IsVisible.setter
1700
+ def IsVisible(self, value: bool) -> bool: ...
1701
+ @property
1702
+ def Layer(self) -> Layer: ...
1703
+ @Layer.setter
1704
+ def Layer(self, value: Layer) -> Layer: ...
1705
+ @property
1706
+ def ModelGeometry(self) -> GeometryModelData: ...
1707
+ @property
1708
+ def Name(self) -> str: ...
1709
+ @Name.setter
1710
+ def Name(self, value: str) -> str: ...
1711
+ def AddToModel(self) -> None: ...
1712
+ def MakeConsistent(self, notifyGeometryChanged: bool, hasTopologyChanged: bool) -> None: ...
1713
+ def RemoveFromModel(self) -> bool: ...
1714
+
1715
+
1716
+ class PolylineAlgorithms:
1717
+ def __init__(self) -> None: ...
1718
+ @staticmethod
1719
+ def GetStartEnd(edges: IEnumerable_1[Edge]) -> ValueTuple_3[bool, Vertex, Vertex]: ...
1720
+ @staticmethod
1721
+ def Order(edges: IEnumerable_1[PEdge]) -> ValueTuple_2[bool, List_1[PEdge]]: ...
1722
+
1723
+
1724
+ class ProxyGeometry(BaseGeometry):
1725
+ @typing.overload
1726
+ def __init__(self, id: int, layer: Layer, nameFormat: str, vertex: Vertex, positions: List_1[SimPoint3D] = ..., normals: List_1[SimVector3D] = ..., indices: List_1[int] = ...) -> None: ...
1727
+ @typing.overload
1728
+ def __init__(self, layer: Layer, nameFormat: str, vertex: Vertex) -> None: ...
1729
+ @property
1730
+ def Color(self) -> DerivedColor: ...
1731
+ @Color.setter
1732
+ def Color(self, value: DerivedColor) -> DerivedColor: ...
1733
+ @property
1734
+ def EulerAngles(self) -> SimVector3D: ...
1735
+ @EulerAngles.setter
1736
+ def EulerAngles(self, value: SimVector3D) -> SimVector3D: ...
1737
+ @property
1738
+ def Id(self) -> int: ...
1739
+ @property
1740
+ def Indices(self) -> List_1[int]: ...
1741
+ @Indices.setter
1742
+ def Indices(self, value: List_1[int]) -> List_1[int]: ...
1743
+ @property
1744
+ def IsActuallyVisible(self) -> bool: ...
1745
+ @property
1746
+ def IsVisible(self) -> bool: ...
1747
+ @IsVisible.setter
1748
+ def IsVisible(self, value: bool) -> bool: ...
1749
+ @property
1750
+ def Layer(self) -> Layer: ...
1751
+ @Layer.setter
1752
+ def Layer(self, value: Layer) -> Layer: ...
1753
+ @property
1754
+ def ModelGeometry(self) -> GeometryModelData: ...
1755
+ @property
1756
+ def Name(self) -> str: ...
1757
+ @Name.setter
1758
+ def Name(self, value: str) -> str: ...
1759
+ @property
1760
+ def Normals(self) -> List_1[SimVector3D]: ...
1761
+ @Normals.setter
1762
+ def Normals(self, value: List_1[SimVector3D]) -> List_1[SimVector3D]: ...
1763
+ @property
1764
+ def Positions(self) -> List_1[SimPoint3D]: ...
1765
+ @Positions.setter
1766
+ def Positions(self, value: List_1[SimPoint3D]) -> List_1[SimPoint3D]: ...
1767
+ @property
1768
+ def Rotation(self) -> SimQuaternion: ...
1769
+ @Rotation.setter
1770
+ def Rotation(self, value: SimQuaternion) -> SimQuaternion: ...
1771
+ @property
1772
+ def Size(self) -> SimVector3D: ...
1773
+ @Size.setter
1774
+ def Size(self, value: SimVector3D) -> SimVector3D: ...
1775
+ @property
1776
+ def Transformation(self) -> SimMatrix3D: ...
1777
+ @property
1778
+ def Vertex(self) -> Vertex: ...
1779
+ def AddToModel(self) -> None: ...
1780
+ def MakeConsistent(self, notifyGeometryChanged: bool, hasTopologyChanged: bool) -> None: ...
1781
+ def RemoveFromModel(self) -> bool: ...
1782
+
1783
+
1784
+ class ProxyShapeGenerator(abc.ABC):
1785
+ @staticmethod
1786
+ def GenerateCube(layer: Layer, name: str, baseVertex: Vertex, size: SimPoint3D) -> ProxyGeometry: ...
1787
+ @staticmethod
1788
+ def LoadModelsCombined(layer: Layer, name: str, baseVertex: Vertex, paths: IEnumerable_1[FileInfo], projectData: ProjectData) -> ProxyGeometry: ...
1789
+ @staticmethod
1790
+ def UpdateCube(proxy: ProxyGeometry, size: SimPoint3D) -> None: ...
1791
+ @staticmethod
1792
+ def UpdateProxyGeometryCombined(proxy: ProxyGeometry, paths: IEnumerable_1[FileInfo], projectData: ProjectData) -> None: ...
1793
+
1794
+
1795
+ class RemoveGeometryRelationUndoItem(IUndoItem):
1796
+ def __init__(self, relation: SimGeometryRelation) -> None: ...
1797
+ def Execute(self) -> UndoExecutionResult: ...
1798
+ def Redo(self) -> None: ...
1799
+ def Undo(self) -> None: ...
1800
+
1801
+
1802
+ class RemovePlacementUndoItem(IUndoItem):
1803
+ def __init__(self, placement: SimInstancePlacement) -> None: ...
1804
+ def Execute(self) -> UndoExecutionResult: ...
1805
+ def Redo(self) -> None: ...
1806
+ def Undo(self) -> None: ...
1807
+
1808
+
1809
+ class RetargetGeometryRelationUndoItem(IUndoItem):
1810
+ def __init__(self, relation: SimGeometryRelation, newRelationReference: SimBaseGeometryReference, targetProperty: RetargetGeometryRelationUndoItem.TargetProperty) -> None: ...
1811
+ def Execute(self) -> UndoExecutionResult: ...
1812
+ def Redo(self) -> None: ...
1813
+ def Undo(self) -> None: ...
1814
+
1815
+ class TargetProperty(typing.SupportsInt):
1816
+ @typing.overload
1817
+ def __init__(self, value : int) -> None: ...
1818
+ @typing.overload
1819
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
1820
+ def __int__(self) -> int: ...
1821
+
1822
+ # Values:
1823
+ Source : RetargetGeometryRelationUndoItem.TargetProperty # 0
1824
+ Target : RetargetGeometryRelationUndoItem.TargetProperty # 1
1825
+
1826
+
1827
+
1828
+ class SetGeometryRelationTypeUndoItem(IUndoItem):
1829
+ def __init__(self, relation: SimGeometryRelation, relationType: SimTaxonomyEntry) -> None: ...
1830
+ def Execute(self) -> UndoExecutionResult: ...
1831
+ def Redo(self) -> None: ...
1832
+ def Undo(self) -> None: ...
1833
+
1834
+
1835
+ class ShapeGenerator(abc.ABC):
1836
+ @staticmethod
1837
+ def GenerateCube(layer: Layer, position: SimPoint3D, size: SimPoint3D) -> Volume: ...
1838
+ @staticmethod
1839
+ def GenerateXZRectangle(layer: Layer, position: SimPoint3D, size: SimSize) -> Face: ...
1840
+ # Skipped GenerateFaceWithHole due to it being static, abstract and generic.
1841
+
1842
+ GenerateFaceWithHole : GenerateFaceWithHole_MethodGroup
1843
+ class GenerateFaceWithHole_MethodGroup:
1844
+ @typing.overload
1845
+ def __call__(self, layer: Layer, size: SimSize, transformation: SimMatrix3D) -> Face:...
1846
+ @typing.overload
1847
+ def __call__(self, layer: Layer, size: SimSize, orientation: float, incline: float) -> Face:...
1848
+
1849
+
1850
+
1851
+ class SimBaseGeometryReference:
1852
+ @typing.overload
1853
+ def __init__(self, projectId: Guid, baseGeometry: BaseGeometry) -> None: ...
1854
+ @typing.overload
1855
+ def __init__(self, projectId: Guid, fileId: int, baseGeometryId: int) -> None: ...
1856
+ @property
1857
+ def BaseGeometryId(self) -> int: ...
1858
+ @BaseGeometryId.setter
1859
+ def BaseGeometryId(self, value: int) -> int: ...
1860
+ @property
1861
+ def FileId(self) -> int: ...
1862
+ @FileId.setter
1863
+ def FileId(self, value: int) -> int: ...
1864
+ @property
1865
+ def ProjectId(self) -> Guid: ...
1866
+ @ProjectId.setter
1867
+ def ProjectId(self, value: Guid) -> Guid: ...
1868
+ def Equals(self, obj: typing.Any) -> bool: ...
1869
+ def GetHashCode(self) -> int: ...
1870
+
1871
+
1872
+ class SimGeometryModelCollection(IEnumerable_1[GeometryModel], INotifyCollectionChanged):
1873
+ def __init__(self, projectData: ProjectData) -> None: ...
1874
+ @property
1875
+ def ProjectData(self) -> ProjectData: ...
1876
+ def AddGeometryModel(self, model: GeometryModel) -> None: ...
1877
+ def AddGeometryModels(self, models: IEnumerable_1[GeometryModel]) -> None: ...
1878
+ def CacheImportedGeometry(self, file: FileInfo, geometry: SimMeshGeometryData) -> None: ...
1879
+ @staticmethod
1880
+ def GetAllReachableModels(rootModel: GeometryModel, result: Dictionary_2[ResourceFileEntry, GeometryModel]) -> None: ...
1881
+ def GetEnumerator(self) -> IEnumerator_1[GeometryModel]: ...
1882
+ def OnImporterWarning(self, messages: IEnumerable_1[ImportWarningMessage]) -> None: ...
1883
+ def RemoveGeometryModel(self, model: GeometryModel) -> bool: ...
1884
+ def TryGetCachedImportedGeometry(self, file: FileInfo) -> SimMeshGeometryData: ...
1885
+ def TryGetGeometryModel(self, file: ResourceFileEntry, model: clr.Reference[GeometryModel], isOwning: bool = ...) -> bool: ...
1886
+
1887
+ class ImporterWarningEventHandler(MulticastDelegate):
1888
+ def __init__(self, object: typing.Any, method: int) -> None: ...
1889
+ @property
1890
+ def Method(self) -> MethodInfo: ...
1891
+ @property
1892
+ def Target(self) -> typing.Any: ...
1893
+ def BeginInvoke(self, messages: IEnumerable_1[ImportWarningMessage], callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
1894
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
1895
+ def Invoke(self, messages: IEnumerable_1[ImportWarningMessage]) -> None: ...
1896
+
1897
+
1898
+
1899
+ class SimGeometryParameterSource(SimParameterValueSource):
1900
+ @typing.overload
1901
+ def __init__(self, geometryProperty: SimGeometrySourceProperty) -> None: ...
1902
+ @typing.overload
1903
+ def __init__(self, original: SimGeometryParameterSource) -> None: ...
1904
+ @property
1905
+ def FilterTags(self) -> SimTaxonomyEntryReferenceCollection: ...
1906
+ @property
1907
+ def GeometryProperty(self) -> SimGeometrySourceProperty: ...
1908
+ @property
1909
+ def InstancesPassingFilter(self) -> Dictionary_2[SimComponentInstance, bool]: ...
1910
+ @property
1911
+ def TargetParameter(self) -> SimBaseParameter: ...
1912
+ @TargetParameter.setter
1913
+ def TargetParameter(self, value: SimBaseParameter) -> SimBaseParameter: ...
1914
+ def Clone(self) -> SimParameterValueSource: ...
1915
+ def InstancePassesFilter(self, instance: SimComponentInstance) -> bool: ...
1916
+ def NotifyResourceEntryFilterChanged(self, entry: ResourceEntry) -> None: ...
1917
+ def RestoreDefaultTaxonomyReferences(self, projectData: ProjectData) -> None: ...
1918
+ def UpdateAllInstanceFilters(self) -> None: ...
1919
+ def UpdateInstanceFilter(self, instance: SimComponentInstance) -> None: ...
1920
+
1921
+
1922
+ class SimGeometryRelation(SimObjectNew_1[SimGeometryRelationCollection]):
1923
+ @typing.overload
1924
+ def __init__(self, id: SimId, relationType: SimTaxonomyEntryReference, source: SimBaseGeometryReference, target: SimBaseGeometryReference, isAutogenerated: bool = ...) -> None: ...
1925
+ @typing.overload
1926
+ def __init__(self, relationType: SimTaxonomyEntryReference, source: SimBaseGeometryReference, target: SimBaseGeometryReference, isAutogenerated: bool = ...) -> None: ...
1927
+ @typing.overload
1928
+ def __init__(self, relationType: SimTaxonomyEntry, sourceProjectId: Guid, source: BaseGeometry, targetProjectId: Guid, target: BaseGeometry, isAutogenerated: bool = ...) -> None: ...
1929
+ @typing.overload
1930
+ def __init__(self, relationType: SimTaxonomyEntry, sourceProjectId: Guid, sourceFileId: int, sourceGeometryId: int, targetProjectId: Guid, targetFileId: int, targetGeometryId: int, isAutogenerated: bool = ...) -> None: ...
1931
+ @property
1932
+ def Description(self) -> str: ...
1933
+ @Description.setter
1934
+ def Description(self, value: str) -> str: ...
1935
+ @property
1936
+ def Factory(self) -> SimGeometryRelationCollection: ...
1937
+ @Factory.setter
1938
+ def Factory(self, value: SimGeometryRelationCollection) -> SimGeometryRelationCollection: ...
1939
+ @property
1940
+ def GlobalID(self) -> Guid: ...
1941
+ @property
1942
+ def Id(self) -> SimId: ...
1943
+ @Id.setter
1944
+ def Id(self, value: SimId) -> SimId: ...
1945
+ @property
1946
+ def IsAutogenerated(self) -> bool: ...
1947
+ @IsAutogenerated.setter
1948
+ def IsAutogenerated(self, value: bool) -> bool: ...
1949
+ @property
1950
+ def LocalID(self) -> int: ...
1951
+ @property
1952
+ def RelationType(self) -> SimTaxonomyEntryReference: ...
1953
+ @RelationType.setter
1954
+ def RelationType(self, value: SimTaxonomyEntryReference) -> SimTaxonomyEntryReference: ...
1955
+ @property
1956
+ def Source(self) -> SimBaseGeometryReference: ...
1957
+ @Source.setter
1958
+ def Source(self, value: SimBaseGeometryReference) -> SimBaseGeometryReference: ...
1959
+ @property
1960
+ def Target(self) -> SimBaseGeometryReference: ...
1961
+ @Target.setter
1962
+ def Target(self, value: SimBaseGeometryReference) -> SimBaseGeometryReference: ...
1963
+
1964
+
1965
+ class SimGeometryRelationCollection(SimManagedCollection_1[SimGeometryRelation]):
1966
+ def __init__(self, owner: ProjectData) -> None: ...
1967
+ @property
1968
+ def CalledFromLocation(self) -> IReferenceLocation: ...
1969
+ @property
1970
+ def Count(self) -> int: ...
1971
+ @property
1972
+ def HasChanges(self) -> bool: ...
1973
+ @property
1974
+ def IsLoading(self) -> bool: ...
1975
+ @IsLoading.setter
1976
+ def IsLoading(self, value: bool) -> bool: ...
1977
+ @property
1978
+ def Item(self) -> SimGeometryRelation: ...
1979
+ @Item.setter
1980
+ def Item(self, value: SimGeometryRelation) -> SimGeometryRelation: ...
1981
+ @property
1982
+ def LastChange(self) -> DateTime: ...
1983
+ @property
1984
+ def ProjectData(self) -> ProjectData: ...
1985
+ def GetRelationsFrom(self, fromGeometry: BaseGeometry) -> IEnumerable_1[SimGeometryRelation]: ...
1986
+ def GetRelationsTo(self, toGeometry: BaseGeometry) -> IEnumerable_1[SimGeometryRelation]: ...
1987
+ def OnGeometryRelationChanged(self, relation: SimGeometryRelation) -> None: ...
1988
+ def RestoreDefaultTaxonomyReferences(self) -> None: ...
1989
+ def StartLoading(self) -> None: ...
1990
+ def StopLoading(self) -> None: ...
1991
+ # Skipped GetRelationsOf due to it being static, abstract and generic.
1992
+
1993
+ GetRelationsOf : GetRelationsOf_MethodGroup
1994
+ class GetRelationsOf_MethodGroup:
1995
+ @typing.overload
1996
+ def __call__(self, reference: SimBaseGeometryReference) -> IEnumerable_1[SimGeometryRelation]:...
1997
+ @typing.overload
1998
+ def __call__(self, baseGeometry: BaseGeometry) -> IEnumerable_1[SimGeometryRelation]:...
1999
+ @typing.overload
2000
+ def __call__(self, geometryModel: GeometryModel) -> HashSet_1[SimGeometryRelation]:...
2001
+
2002
+
2003
+ class GeometryRelationChangedHandler(MulticastDelegate):
2004
+ def __init__(self, object: typing.Any, method: int) -> None: ...
2005
+ @property
2006
+ def Method(self) -> MethodInfo: ...
2007
+ @property
2008
+ def Target(self) -> typing.Any: ...
2009
+ def BeginInvoke(self, sender: typing.Any, args: GeometryRelationChangedEventArgs, callback: AsyncCallback, object: typing.Any) -> IAsyncResult: ...
2010
+ def EndInvoke(self, result: IAsyncResult) -> None: ...
2011
+ def Invoke(self, sender: typing.Any, args: GeometryRelationChangedEventArgs) -> None: ...
2012
+
2013
+
2014
+
2015
+ class SimGeometrySourceProperty(typing.SupportsInt):
2016
+ @typing.overload
2017
+ def __init__(self, value : int) -> None: ...
2018
+ @typing.overload
2019
+ def __init__(self, value : int, force_if_true: bool) -> None: ...
2020
+ def __int__(self) -> int: ...
2021
+
2022
+ # Values:
2023
+ Invalid : SimGeometrySourceProperty # 0
2024
+ FaceArea : SimGeometrySourceProperty # 1
2025
+ FaceIncline : SimGeometrySourceProperty # 2
2026
+ FaceOrientation : SimGeometrySourceProperty # 3
2027
+ VolumeFloorElevation : SimGeometrySourceProperty # 100
2028
+ VolumeCeilingElevation : SimGeometrySourceProperty # 101
2029
+ VolumeHeight : SimGeometrySourceProperty # 102
2030
+ VolumeFloorArea : SimGeometrySourceProperty # 103
2031
+ VolumeVolume : SimGeometrySourceProperty # 104
2032
+ EdgeLength : SimGeometrySourceProperty # 200
2033
+
2034
+
2035
+ class SimMeshGeometryData:
2036
+ def __init__(self) -> None: ...
2037
+ @property
2038
+ def Indices(self) -> List_1[int]: ...
2039
+ @property
2040
+ def Normals(self) -> List_1[SimVector3D]: ...
2041
+ @property
2042
+ def Vertices(self) -> List_1[SimPoint3D]: ...
2043
+
2044
+
2045
+ class Triangulation(abc.ABC):
2046
+ @staticmethod
2047
+ def DecomposeInSimplePolygons(polygon: List_1[SimPoint3D], holes: List_1[List_1[SimPoint3D]]) -> List_1[List_1[SimPoint3D]]: ...
2048
+ @staticmethod
2049
+ def PolygonComplexFill(polygon: List_1[SimPoint3D], holes: List_1[List_1[SimPoint3D]], positions: clr.Reference[List_1[SimPoint3D]], indices: clr.Reference[List_1[int]], reverse: bool = ...) -> None: ...
2050
+
2051
+
2052
+ class UTMCoord:
2053
+ Easting : float
2054
+ Height : float
2055
+ NorthernHemisphere : bool
2056
+ Northing : float
2057
+ Zone : int
2058
+
2059
+
2060
+ class Vertex(BaseGeometry):
2061
+ @typing.overload
2062
+ def __init__(self, id: int, layer: Layer, nameFormat: str, position: SimPoint3D) -> None: ...
2063
+ @typing.overload
2064
+ def __init__(self, layer: Layer, nameFormat: str, position: SimPoint3D) -> None: ...
2065
+ @property
2066
+ def Color(self) -> DerivedColor: ...
2067
+ @Color.setter
2068
+ def Color(self, value: DerivedColor) -> DerivedColor: ...
2069
+ @property
2070
+ def Edges(self) -> List_1[Edge]: ...
2071
+ @Edges.setter
2072
+ def Edges(self, value: List_1[Edge]) -> List_1[Edge]: ...
2073
+ @property
2074
+ def Id(self) -> int: ...
2075
+ @property
2076
+ def IsActuallyVisible(self) -> bool: ...
2077
+ @property
2078
+ def IsVisible(self) -> bool: ...
2079
+ @IsVisible.setter
2080
+ def IsVisible(self, value: bool) -> bool: ...
2081
+ @property
2082
+ def Layer(self) -> Layer: ...
2083
+ @Layer.setter
2084
+ def Layer(self, value: Layer) -> Layer: ...
2085
+ @property
2086
+ def ModelGeometry(self) -> GeometryModelData: ...
2087
+ @property
2088
+ def Name(self) -> str: ...
2089
+ @Name.setter
2090
+ def Name(self, value: str) -> str: ...
2091
+ @property
2092
+ def Position(self) -> SimPoint3D: ...
2093
+ @Position.setter
2094
+ def Position(self, value: SimPoint3D) -> SimPoint3D: ...
2095
+ @property
2096
+ def ProxyGeometries(self) -> List_1[ProxyGeometry]: ...
2097
+ @ProxyGeometries.setter
2098
+ def ProxyGeometries(self, value: List_1[ProxyGeometry]) -> List_1[ProxyGeometry]: ...
2099
+ def AddToModel(self) -> None: ...
2100
+ def MakeConsistent(self, notifyGeometryChanged: bool, hasTopologyChanged: bool) -> None: ...
2101
+ def RemoveFromModel(self) -> bool: ...
2102
+ # Skipped Clone due to it being static, abstract and generic.
2103
+
2104
+ Clone : Clone_MethodGroup
2105
+ class Clone_MethodGroup:
2106
+ @typing.overload
2107
+ def __call__(self) -> Vertex:...
2108
+ @typing.overload
2109
+ def __call__(self, layer: Layer) -> Vertex:...
2110
+
2111
+
2112
+
2113
+ class VertexAlgorithms(abc.ABC):
2114
+ @staticmethod
2115
+ def AdjacentFaces(v: Vertex, faces: clr.Reference[HashSet_1[Face]]) -> None: ...
2116
+ @staticmethod
2117
+ def BoundingBox(points: IEnumerable_1[SimPoint3D]) -> ValueTuple_2[SimPoint3D, SimPoint3D]: ...
2118
+ @staticmethod
2119
+ def IsEqual(p1: SimPoint3D, p2: SimPoint3D, threshold: float = ...) -> bool: ...
2120
+ @staticmethod
2121
+ def ToMathematicalCoordinateSystem(p: SimPoint3D) -> SimPoint3D: ...
2122
+ # Skipped FromMathematicalCoordinateSystem due to it being static, abstract and generic.
2123
+
2124
+ FromMathematicalCoordinateSystem : FromMathematicalCoordinateSystem_MethodGroup
2125
+ class FromMathematicalCoordinateSystem_MethodGroup:
2126
+ @typing.overload
2127
+ def __call__(self, p: SimPoint3D) -> SimPoint3D:...
2128
+ @typing.overload
2129
+ def __call__(self, v: Vertex) -> SimPoint3D:...
2130
+ @typing.overload
2131
+ def __call__(self, x: float, y: float, z: float) -> SimPoint3D:...
2132
+
2133
+ # Skipped IsCollinear due to it being static, abstract and generic.
2134
+
2135
+ IsCollinear : IsCollinear_MethodGroup
2136
+ class IsCollinear_MethodGroup:
2137
+ @typing.overload
2138
+ def __call__(self, positions: List_1[SimPoint3D], threshold: float = ...) -> bool:...
2139
+ @typing.overload
2140
+ def __call__(self, vertices: List_1[Vertex], threshold: float = ...) -> bool:...
2141
+
2142
+
2143
+
2144
+ class Volume(BaseGeometry):
2145
+ @typing.overload
2146
+ def __init__(self, id: int, layer: Layer, nameFormat: str, faces: IEnumerable_1[Face]) -> None: ...
2147
+ @typing.overload
2148
+ def __init__(self, layer: Layer, nameFormat: str, faces: IEnumerable_1[Face]) -> None: ...
2149
+ @property
2150
+ def Color(self) -> DerivedColor: ...
2151
+ @Color.setter
2152
+ def Color(self, value: DerivedColor) -> DerivedColor: ...
2153
+ @property
2154
+ def Faces(self) -> ObservableCollection_1[PFace]: ...
2155
+ @Faces.setter
2156
+ def Faces(self, value: ObservableCollection_1[PFace]) -> ObservableCollection_1[PFace]: ...
2157
+ @property
2158
+ def Id(self) -> int: ...
2159
+ @property
2160
+ def IsActuallyVisible(self) -> bool: ...
2161
+ @property
2162
+ def IsConsistentOriented(self) -> bool: ...
2163
+ @IsConsistentOriented.setter
2164
+ def IsConsistentOriented(self, value: bool) -> bool: ...
2165
+ @property
2166
+ def IsVisible(self) -> bool: ...
2167
+ @IsVisible.setter
2168
+ def IsVisible(self, value: bool) -> bool: ...
2169
+ @property
2170
+ def Layer(self) -> Layer: ...
2171
+ @Layer.setter
2172
+ def Layer(self, value: Layer) -> Layer: ...
2173
+ @property
2174
+ def ModelGeometry(self) -> GeometryModelData: ...
2175
+ @property
2176
+ def Name(self) -> str: ...
2177
+ @Name.setter
2178
+ def Name(self, value: str) -> str: ...
2179
+ def AddFace(self, face: Face) -> PFace: ...
2180
+ def AddToModel(self) -> None: ...
2181
+ def MakeConsistent(self, notifyGeometryChanged: bool, hasTopologyChanged: bool) -> None: ...
2182
+ def RemoveFace(self, face: Face) -> bool: ...
2183
+ def RemoveFromModel(self) -> bool: ...
2184
+
2185
+
2186
+ class VolumeAlgorithms(abc.ABC):
2187
+ @staticmethod
2188
+ def AddFacesToVolume(v: Volume, faces: IEnumerable_1[Face]) -> None: ...
2189
+ @staticmethod
2190
+ def AreaBruttoNetto(volume: Volume) -> ValueTuple_3[float, float, float]: ...
2191
+ @staticmethod
2192
+ def Center(v: Volume) -> SimPoint3D: ...
2193
+ @staticmethod
2194
+ def ContainedGeometry(v: Volume, geometries: clr.Reference[List_1[BaseGeometry]]) -> None: ...
2195
+ @staticmethod
2196
+ def Elevation(volume: Volume) -> ValueTuple_2[float, float]: ...
2197
+ @staticmethod
2198
+ def ElevationReference(volume: Volume) -> ValueTuple_2[float, float]: ...
2199
+ @staticmethod
2200
+ def FindConsistentOrientation(volume: Volume) -> bool: ...
2201
+ @staticmethod
2202
+ def FindUnclosedEdges(volume: Volume) -> IEnumerable_1[Edge]: ...
2203
+ @staticmethod
2204
+ def FloorPerimeter(volume: Volume) -> float: ...
2205
+ @staticmethod
2206
+ def Height(vol: Volume) -> ValueTuple_3[float, float, float]: ...
2207
+ @staticmethod
2208
+ def IsInside(volume: Volume, point: SimPoint3D) -> bool: ...
2209
+ @staticmethod
2210
+ def MergeVolumes(v1: Volume, v2: Volume) -> List_1[BaseGeometry]: ...
2211
+ @staticmethod
2212
+ def RemoveFacesFromVolume(v: Volume, faces: List_1[Face]) -> None: ...
2213
+ @staticmethod
2214
+ def SignedVolume(faces: IEnumerable_1[ValueTuple_2[Face, GeometricOrientation]]) -> float: ...
2215
+ @staticmethod
2216
+ def Volume(vol: Volume) -> float: ...
2217
+ @staticmethod
2218
+ def VolumeBruttoNetto(vol: Volume) -> ValueTuple_3[float, float, float]: ...
2219
+