Subject | Hash | Author | Date (UTC) |
---|---|---|---|
wireframe.LinearSolver: polytope handle hotfix | bc48de3193ce9be482cc4dd068a26f48ea1e0203 | I am | 2022-11-16 13:24:41 |
qt_gui.qt_pairwise.ContactWidget: add LP methods | 8dbd480ca80aabe1c7e0e689780767b78c86c1d1 | I am | 2022-11-16 11:33:32 |
wireframe: implement two LP solvers | 8aecd55104ce85ccccf872ebef0052a5937415b5 | I am | 2022-11-16 11:32:31 |
qt_gui.qt_pairwise.ContactWidget: add Gabriel adjacency | 86eaf302b176612fad072a2248e2c724d32be755 | I am | 2022-11-16 06:17:53 |
wireframe: implement Gabriel adjacency | f0a74b4f28cec6c2ddc68d6811e0a812fc829d63 | I am | 2022-11-16 06:16:58 |
qt_gui.qt_pairwise.ContactWidget: reflect updated wireframe | b00a9be23d92d999e0020426a7a5caa1206c5862 | I am | 2022-11-16 03:56:57 |
wireframe: implement LocalizedHull class | 95c19144c5144461db241df1b2bd20d8950c8d57 | I am | 2022-11-16 03:55:59 |
qt_gui.qt_pairwise.ContactWidget: polish UI | bd48c8a6342e20dac1d635b963dd44e62c371379 | I am | 2022-11-13 20:03:39 |
wireframe: add convex_slice() method | efada4c62f88b6106c687217472e0b8c52374fed | I am | 2022-11-13 19:51:49 |
qt_gui.qt_pairwise.ContactWidget: finish widget and clean up | 10753a104879d6b9c109735e959b18b5a60a4616 | I am | 2022-11-10 05:02:01 |
wireframe: finish and clean up module. implement DirectContact. | f7ff9c02f25a3ed8fe04e99036da69766afa5a49 | I am | 2022-11-10 04:58:58 |
qt_gui.qt_pairwise.ContactWidget: implement Qhull check | e362df1f8b87ab7c6a27643cd6f4091b9caec9a3 | I am | 2022-11-09 21:35:10 |
wireframe: add Qframe class | cf52d85dd1663537cd8c52a98514c7d041913979 | I am | 2022-11-09 21:34:12 |
qt_gui.qt_pairwise: add auto arnge and auto levels controls | 9bc2cf10a9a1695c2c1a5f6a9959f375d3808a71 | I am | 2022-11-09 18:16:47 |
qt_gui.qt_pairwise: set blue -1 by default. Add force_update option in Contact widget | 7371575784df7fd41bd76ad29caf38f474a06a26 | I am | 2022-11-09 15:39:03 |
qt_gui.qt_pairwise: prepare Contact widget | bfa78d7493f5eb04b6bd3a4ad26dd1a92d17a895 | I am | 2022-11-09 03:36:05 |
qt_gui.qt_pairwise: prepare more mouse event signals | c60e613508480c68483b3d0d6ad6c876b27f539c | I am | 2022-11-08 01:55:14 |
qt_gui: introduce reworked matrix view window | e28b95c5f418a7a3cea0cb84ca82b40275a71061 | I am | 2022-11-07 02:20:45 |
introduce wireframe module for the contacts finding functionality | b6068dd92663699859ea7cbf3aac00178d120e0f | I am | 2022-10-25 14:24:37 |
voronoi.TwoPoints: atleast_2d() one line fix | 9f8bd9e5370ccf30887b6218331ee664788a3b91 | I am | 2022-10-25 07:09:57 |
File | Lines added | Lines deleted |
---|---|---|
wellmet/wireframe.py | 1 | 4 |
File wellmet/wireframe.py changed (mode: 100644) (index 4a80e37..fe3d169) | |||
... | ... | class LinearSolver: | |
799 | 799 | ||
800 | 800 | ||
801 | 801 | def _handle_polytope(self, polytope): | def _handle_polytope(self, polytope): |
802 | if len(polytope) > 2: | ||
802 | if len(polytope) > 1: | ||
803 | 803 | i = polytope[0] | i = polytope[0] |
804 | 804 | jj = polytope[1:] | jj = polytope[1:] |
805 | 805 | self._handle_polytope(jj) | self._handle_polytope(jj) |
806 | 806 | for j in jj: | for j in jj: |
807 | 807 | self._set_contact(i, j) | self._set_contact(i, j) |
808 | else: | ||
809 | i, j = polytope | ||
810 | self._set_contact(i, j) | ||
811 | 808 | ||
812 | 809 | def _set_contact(self, x, y): | def _set_contact(self, x, y): |
813 | 810 | i, j = min(x, y), max(x, y) | i, j = min(x, y), max(x, y) |