︠e2c38041-655e-4eb6-81f8-184b2a27daafi︠ %md See [Triangulations of a point configuration (sage reference manual)](http://doc.sagemath.org/html/en/reference/geometry/sage/geometry/triangulation/point_configuration.html) and the [TOPCOM website](http://www.rambau.wm.uni-bayreuth.de/TOPCOM/). ︡cc271d94-6c84-4f1f-bd47-db75f8263d37︡︡{"done":true,"md":"See [Triangulations of a point configuration (sage reference manual)](http://doc.sagemath.org/html/en/reference/geometry/sage/geometry/triangulation/point_configuration.html) and the [TOPCOM website](http://www.rambau.wm.uni-bayreuth.de/TOPCOM/)."} ︠5e7f74cd-4b76-4027-bdd4-5cea1580d81d︠ # The optional TOPCOM package is pre-installed in SageMathCloud. PointConfiguration.set_engine('topcom') # optional - topcom p = PointConfiguration([[-1,-5/9],[0,10/9],[1,-5/9],[-2,-10/9],[0,20/9],[2,-10/9]]) regular = p.restrict_to_regular_triangulations(True).triangulations_list() # optional - topcom nonregular = p.restrict_to_regular_triangulations(False).triangulations_list() # optional - topcom len(regular) # optional - topcom ︡f05c7e93-012d-4303-977c-001fc4258d00︡︡{"stdout":"16\n","done":false}︡{"done":true} ︠ba311252-c36d-4d9e-ae7e-a030ae86be78︠ len(nonregular) # optional - topcom ︡098cc1e7-181e-45dc-b6e2-a156d8cd5c69︡︡{"stdout":"2\n","done":false}︡{"done":true} ︠7818470c-0c97-4ed7-bb09-7f3f726685ac︠ nonregular[0].plot(aspect_ratio=1, axes=False) # optional - topcom PointConfiguration.set_engine('internal') # to make doctests independent of TOPCOM ︡169df73c-1e4d-408f-aed8-86056edee542︡︡{"once":false,"done":false,"file":{"show":true,"uuid":"c16b41b8-419e-443f-90be-e5c49c2849c0","filename":"/projects/4a5f0542-5873-4eed-a85c-a18c706e8bcd/.sage/temp/compute4-us/28587/tmp_vKbbV8.svg"}}︡{"html":"
","done":false}︡{"done":true} ︠c6080bbb-fe42-443f-b4f9-feec04c7051f︠