topologicpy 0.5.1__tar.gz → 0.5.3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {topologicpy-0.5.1/src/topologicpy.egg-info → topologicpy-0.5.3}/PKG-INFO +1 -1
- {topologicpy-0.5.1 → topologicpy-0.5.3}/pyproject.toml +1 -1
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/CellComplex.py +17 -14
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Graph.py +12 -10
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Helper.py +34 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/__init__.py +1 -1
- {topologicpy-0.5.1 → topologicpy-0.5.3/src/topologicpy.egg-info}/PKG-INFO +1 -1
- {topologicpy-0.5.1 → topologicpy-0.5.3}/LICENSE +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/MANIFEST.in +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/README.md +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/setup.cfg +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Aperture.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Cell.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Cluster.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Color.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Context.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/DGL.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Dictionary.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Edge.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/EnergyModel.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Face.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Grid.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Honeybee.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Matrix.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Neo4j.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Plotly.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Polyskel.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Shell.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Speckle.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Topology.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Vector.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Vertex.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/Wire.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/__init__.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKBO-6bdf205d.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKBRep-2960a069.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKBool-c44b74bd.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKFillet-9a670ba0.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKG2d-8f31849e.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKG3d-4c6bce57.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKGeomAlgo-26066fd9.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKGeomBase-2116cabe.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKMath-72572fa8.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKMesh-2a060427.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKOffset-6cab68ff.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKPrim-eb1262b3.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKShHealing-e67e5cc7.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKTopAlgo-e4c96c33.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libTKernel-fb7fe3b7.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libgcc_s-32c1665e.so.1 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libstdc++-672d7b41.so.6.0.30 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/topologic.cpython-310-x86_64-linux-gnu.so +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/topologic.cpython-311-x86_64-linux-gnu.so +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/topologic.cpython-38-x86_64-linux-gnu.so +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/topologic.cpython-39-x86_64-linux-gnu.so +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKBO-6bdf205d.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKBRep-2960a069.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKBool-c44b74bd.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKFillet-9a670ba0.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKG2d-8f31849e.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKG3d-4c6bce57.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKGeomAlgo-26066fd9.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKGeomBase-2116cabe.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKMath-72572fa8.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKMesh-2a060427.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKOffset-6cab68ff.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKPrim-eb1262b3.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKShHealing-e67e5cc7.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKTopAlgo-e4c96c33.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libTKernel-fb7fe3b7.so.7.7.0 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libgcc_s-32c1665e.so.1 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic.libs/libstdc++-672d7b41.so.6.0.30 +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/macos/topologic/__init__.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKBO-f6b191de.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKBRep-e56a600e.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKBool-7b8d47ae.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKFillet-0ddbf0a8.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKG2d-2e2dee3d.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKG3d-6674513d.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKGeomAlgo-d240e370.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKGeomBase-df87aba5.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKMath-45bd625a.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKMesh-d6e826b1.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKOffset-79b9cc94.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKPrim-aa430a86.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKShHealing-bb48be89.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKTopAlgo-7d0d1e22.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKernel-08c8cfbb.dll +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/__init__.py +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/topologic.cp310-win_amd64.pyd +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/topologic.cp311-win_amd64.pyd +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/topologic.cp38-win_amd64.pyd +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/topologic.cp39-win_amd64.pyd +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy.egg-info/SOURCES.txt +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy.egg-info/dependency_links.txt +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy.egg-info/requires.txt +0 -0
- {topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: topologicpy
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.3
|
4
4
|
Summary: An Advanced Spatial Modelling and Analysis Software Library for Architecture, Engineering, and Construction.
|
5
5
|
Author-email: Wassim Jabi <wassim.jabi@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/wassimj/TopologicPy
|
@@ -443,20 +443,21 @@ class CellComplex(Topology):
|
|
443
443
|
-------
|
444
444
|
dictionary
|
445
445
|
A dictionary with the following keys and values:
|
446
|
-
1. "
|
447
|
-
2. "
|
448
|
-
3. "
|
449
|
-
4. "
|
450
|
-
5. "
|
451
|
-
6. "
|
452
|
-
7. "
|
453
|
-
8. "
|
454
|
-
9. "
|
455
|
-
10. "
|
456
|
-
11. "
|
457
|
-
12. "
|
458
|
-
13. "
|
459
|
-
14. "
|
446
|
+
1. "cells": list of cells
|
447
|
+
2. "externalVerticalFaces": list of external vertical faces
|
448
|
+
3. "internalVerticalFaces": list of internal vertical faces
|
449
|
+
4. "topHorizontalFaces": list of top horizontal faces
|
450
|
+
5. "bottomHorizontalFaces": list of bottom horizontal faces
|
451
|
+
6. "internalHorizontalFaces": list of internal horizontal faces
|
452
|
+
7. "externalInclinedFaces": list of external inclined faces
|
453
|
+
8. "internalInclinedFaces": list of internal inclined faces
|
454
|
+
9. "externalVerticalApertures": list of external vertical apertures
|
455
|
+
10. "internalVerticalApertures": list of internal vertical apertures
|
456
|
+
11. "topHorizontalApertures": list of top horizontal apertures
|
457
|
+
12. "bottomHorizontalApertures": list of bottom horizontal apertures
|
458
|
+
13. "internalHorizontalApertures": list of internal horizontal apertures
|
459
|
+
14. "externalInclinedApertures": list of external inclined apertures
|
460
|
+
15. "internalInclinedApertures": list of internal inclined apertures
|
460
461
|
|
461
462
|
"""
|
462
463
|
from topologicpy.Face import Face
|
@@ -553,7 +554,9 @@ class CellComplex(Topology):
|
|
553
554
|
internalInclinedFaces.append(aFace)
|
554
555
|
internalInclinedApertures += getApertures(aFace)
|
555
556
|
|
557
|
+
cells = Topology.Cells(cellComplex)
|
556
558
|
d = {
|
559
|
+
"cells" : cells,
|
557
560
|
"externalVerticalFaces" : externalVerticalFaces,
|
558
561
|
"internalVerticalFaces" : internalVerticalFaces,
|
559
562
|
"topHorizontalFaces" : topHorizontalFaces,
|
@@ -1765,18 +1765,19 @@ class Graph:
|
|
1765
1765
|
edges.append(tempe)
|
1766
1766
|
if viaSharedApertures:
|
1767
1767
|
for sharedAperture in sharedApertures:
|
1768
|
+
sharedAp = sharedAperture.Topology()
|
1768
1769
|
if useInternalVertex == True:
|
1769
|
-
vst = Topology.InternalVertex(
|
1770
|
+
vst = Topology.InternalVertex(sharedAp, tolerance)
|
1770
1771
|
else:
|
1771
|
-
vst =
|
1772
|
-
d1 =
|
1772
|
+
vst = sharedAp.CenterOfMass()
|
1773
|
+
d1 = sharedAp.GetDictionary()
|
1774
|
+
vst = topologic.Vertex.ByCoordinates(vst.X()+(tolerance*100), vst.Y()+(tolerance*100), vst.Z()+(tolerance*100))
|
1773
1775
|
if storeBRep:
|
1774
1776
|
d2 = Dictionary.ByKeysValues(["brep", "brepType", "brepTypeString"], [Topology.BREPString(sharedAperture), Topology.Type(sharedAperture), Topology.TypeAsString(sharedAperture)])
|
1775
1777
|
d3 = mergeDictionaries2([d1, d2])
|
1776
1778
|
_ = vst.SetDictionary(d3)
|
1777
1779
|
else:
|
1778
1780
|
_ = vst.SetDictionary(d1)
|
1779
|
-
vst = topologic.Vertex.ByCoordinates(vst.X()+(tolerance*100), vst.Y()+(tolerance*100), vst.Z()+(tolerance*100))
|
1780
1781
|
vertices.append(vst)
|
1781
1782
|
tempe = Edge.ByStartVertexEndVertex(vCell, vst, tolerance=tolerance)
|
1782
1783
|
tempd = Dictionary.ByKeysValues(["relationship"],["Via Shared Apertures"])
|
@@ -2608,11 +2609,12 @@ class Graph:
|
|
2608
2609
|
edges.append(tempe)
|
2609
2610
|
if viaSharedApertures:
|
2610
2611
|
for sharedAperture in sharedApertures:
|
2612
|
+
sharedTop = sharedAperture.Topology()
|
2611
2613
|
if useInternalVertex == True:
|
2612
|
-
vst = Topology.InternalVertex(
|
2614
|
+
vst = Topology.InternalVertex(sharedTop, tolerance)
|
2613
2615
|
else:
|
2614
|
-
vst =
|
2615
|
-
d1 =
|
2616
|
+
vst = sharedTop.CenterOfMass()
|
2617
|
+
d1 = sharedTop.GetDictionary()
|
2616
2618
|
vst = topologic.Vertex.ByCoordinates(vst.X()+(tolerance*100), vst.Y()+(tolerance*100), vst.Z()+(tolerance*100))
|
2617
2619
|
if storeBRep:
|
2618
2620
|
d2 = Dictionary.ByKeysValues(["brep", "brepType", "brepTypeString"], [Topology.BREPString(Aperture.Topology(sharedAperture)), Topology.Type(Aperture.Topology(sharedAperture)), Topology.TypeAsString(Aperture.Topology(sharedAperture))])
|
@@ -2684,7 +2686,6 @@ class Graph:
|
|
2684
2686
|
vst = content.CenterOfMass()
|
2685
2687
|
vst = topologic.Vertex.ByCoordinates(vst.X()+(tolerance*100), vst.Y()+(tolerance*100), vst.Z()+(tolerance*100))
|
2686
2688
|
d1 = content.GetDictionary()
|
2687
|
-
vst = topologic.Vertex.ByCoordinates(vst.X(), vst.Y(), vst.Z())
|
2688
2689
|
if storeBRep:
|
2689
2690
|
d2 = Dictionary.ByKeysValues(["brep", "brepType", "brepTypeString"], [Topology.BREPString(content), Topology.Type(content), Topology.TypeAsString(content)])
|
2690
2691
|
d3 = mergeDictionaries2([d1, d2])
|
@@ -2928,6 +2929,7 @@ class Graph:
|
|
2928
2929
|
if not isinstance(topology, topologic.Topology):
|
2929
2930
|
print("Graph.ByTopology - Error: The input topology is not a valid topology. Returning None.")
|
2930
2931
|
return None
|
2932
|
+
topology = Topology.Copy(topology)
|
2931
2933
|
graph = None
|
2932
2934
|
item = [topology, None, None, None, direct, directApertures, viaSharedTopologies, viaSharedApertures, toExteriorTopologies, toExteriorApertures, toContents, None, useInternalVertex, storeBRep, tolerance]
|
2933
2935
|
vertices = []
|
@@ -5144,7 +5146,7 @@ class Graph:
|
|
5144
5146
|
j_data = {}
|
5145
5147
|
j_data['nodes'] = {}
|
5146
5148
|
j_data['edges'] = {}
|
5147
|
-
n = len(str(len(vertices)))
|
5149
|
+
n = max(len(str(len(vertices))),4)
|
5148
5150
|
v_labels = []
|
5149
5151
|
v_dicts = []
|
5150
5152
|
for i, v in enumerate(vertices):
|
@@ -6346,7 +6348,7 @@ class Graph:
|
|
6346
6348
|
@staticmethod
|
6347
6349
|
def ShortestPath(graph, vertexA, vertexB, vertexKey="", edgeKey="Length", tolerance=0.0001):
|
6348
6350
|
"""
|
6349
|
-
Returns the shortest path that connects the input vertices.
|
6351
|
+
Returns the shortest path that connects the input vertices. The shortest path will take into consideration both the vertexKey and the edgeKey if both are specified and will minimize the total "cost" of the path. Otherwise, it will take into consideration only whatever key is specified.
|
6350
6352
|
|
6351
6353
|
Parameters
|
6352
6354
|
----------
|
@@ -303,6 +303,40 @@ class Helper:
|
|
303
303
|
normalized_list = [round((x - min_val) / (max_val - min_val), mantissa) for x in l]
|
304
304
|
return normalized_list
|
305
305
|
|
306
|
+
@staticmethod
|
307
|
+
def Position(item, listA):
|
308
|
+
"""
|
309
|
+
Returns the position of the item in the list or the position it would have been inserts.
|
310
|
+
item is assumed to be numeric. listA is assumed to contain only numeric values and sorted from lowest to highest value.
|
311
|
+
|
312
|
+
Parameters
|
313
|
+
----------
|
314
|
+
item : int or float
|
315
|
+
The input number to be positioned.
|
316
|
+
listA : list
|
317
|
+
The input sorted list.
|
318
|
+
|
319
|
+
Returns
|
320
|
+
-------
|
321
|
+
int
|
322
|
+
The position of the item within the list.
|
323
|
+
|
324
|
+
"""
|
325
|
+
left = 0
|
326
|
+
right = len(listA) - 1
|
327
|
+
|
328
|
+
while left <= right:
|
329
|
+
mid = (left + right) // 2
|
330
|
+
if listA[mid] == item:
|
331
|
+
return mid
|
332
|
+
elif listA[mid] < item:
|
333
|
+
left = mid + 1
|
334
|
+
else:
|
335
|
+
right = mid - 1
|
336
|
+
|
337
|
+
# If the target is not found, return the position where it would be inserted
|
338
|
+
return left
|
339
|
+
|
306
340
|
@staticmethod
|
307
341
|
def Repeat(listA):
|
308
342
|
"""
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: topologicpy
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.3
|
4
4
|
Summary: An Advanced Spatial Modelling and Analysis Software Library for Architecture, Engineering, and Construction.
|
5
5
|
Author-email: Wassim Jabi <wassim.jabi@gmail.com>
|
6
6
|
Project-URL: Homepage, https://github.com/wassimj/TopologicPy
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/linux/topologic/libgcc_s-32c1665e.so.1
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKBO-f6b191de.dll
RENAMED
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKBRep-e56a600e.dll
RENAMED
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKBool-7b8d47ae.dll
RENAMED
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKFillet-0ddbf0a8.dll
RENAMED
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKG2d-2e2dee3d.dll
RENAMED
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKG3d-6674513d.dll
RENAMED
File without changes
|
File without changes
|
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKMath-45bd625a.dll
RENAMED
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKMesh-d6e826b1.dll
RENAMED
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKOffset-79b9cc94.dll
RENAMED
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKPrim-aa430a86.dll
RENAMED
File without changes
|
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKTopAlgo-7d0d1e22.dll
RENAMED
File without changes
|
{topologicpy-0.5.1 → topologicpy-0.5.3}/src/topologicpy/bin/windows/topologic/TKernel-08c8cfbb.dll
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|