Ask Your Question

jameskhan's profile - activity

2016-08-29 14:42:44 +0200 asked a question Triangulation of Lattice Polytope

Hello! SAGE seems to depend on order when dealing with triangulations and shifts it in some way.

For example, for the identical configurations: (just with the origin (0,0) in a different place)

pt1 = PointConfiguration([(1, 0), (0, 1), (0, -1), (-1, 0), (1, 1), (0, 0)]);
pt2 = PointConfiguration([(0, 0), (1, 0), (0, 1), (0, -1), (-1, 0), (1, 1)]);


triang = pt1.triangulate();
triang.plot(axes=True)

triang = pt2.triangulate();
triang.plot(axes=True)

the second is clearly correct but the first configuration is left-shifted by (-1,0) for some reason.

Any ideas?

many thanks!!