Top
Back: cyclePoints
Forward: picksFormula
FastBack: Tropical Geometry
FastForward: tropical_lib
Up: oldpolymake_lib
Top: Singular Manual
Contents: Table of Contents
Index: Index
About: About this document

D.13.1.16 latticeArea

Procedure from library oldpolymake.lib (see oldpolymake_lib).

Usage:
latticeArea(polygon); polygon list

Assume:
polygon is a list of integer vectors in the plane

Return:
int, the lattice area of the convex hull of the lattice points in polygon, i.e. twice the Euclidean area

Example:
 
LIB "oldpolymake.lib";
// define a polygon with lattice area 5
list polygon=intvec(1,2),intvec(1,0),intvec(2,0),intvec(1,1),
intvec(2,1),intvec(0,0);
latticeArea(polygon);


Top Back: cyclePoints Forward: picksFormula FastBack: Tropical Geometry FastForward: tropical_lib Up: oldpolymake_lib Top: Singular Manual Contents: Table of Contents Index: Index About: About this document
            User manual for Singular version 3-1-6, Dec 2012, generated by texi2html.