Macaulay2 » Documentation
Packages » PolyominoIdeals » polyoVertices
next | previous | forward | backward | up | index | toc

polyoVertices -- Vertices of a collection of cells

Description

Let $\mathcal{P}$ be a collection of cells. The set of vertices of $\mathcal{P}$ is the union of the vertices of all its cells. This function returns the list of all vertices of $\mathcal{P}$.

i1 : Q = cellCollection {{1,1}, {2,1}, {2,2}, {3,3}}

o1 = {{1, 1}, {2, 1}, {2, 2}, {3, 3}}

o1 : CollectionOfCells
i2 : V = polyoVertices Q

o2 = {(4, 4), (1, 1), (1, 2), (3, 1), (3, 2), (3, 3), (3, 4), (2, 1), (2, 2),
     ------------------------------------------------------------------------
     (2, 3), (4, 3)}

o2 : List

See also

Ways to use polyoVertices:

  • polyoVertices(CollectionOfCells)

For the programmer

The object polyoVertices is a method function.


The source of this document is in PolyominoIdeals.m2:1059:0.