toricDivisor P
A convex lattice polytope corresponds to a pair: the normal toric variety determined by its normal fan and toric divisor. The coefficient of the $i$-th irreducible torus-invariant divisor is determined by the supporting hyperplane to the polytope whose normal vector is the minimal lattice point on the $i$-th ray.
Our example demonstrates how different triangles correspond to toric divisors on the projective plane.
|
|
|
|
|
|
|
|
|
|
|
This method function creates both the toric divisor and the underlying normal toric variety.