

@property
def edges(self):
    '\n        Given the faces of the polyhedra we can get the edges.\n\n        Examples\n        ========\n\n        >>> from sympy.combinatorics import Polyhedron\n        >>> from sympy.abc import a, b, c\n        >>> corners = (a, b, c)\n        >>> faces = [(0, 1, 2)]\n        >>> Polyhedron(corners, faces).edges\n        {(0, 1), (0, 2), (1, 2)}\n\n        '
    if (self._edges is None):
        output = set()
        for face in self.faces:
            for i in range(len(face)):
                edge = tuple(sorted([i[i], face[(i - 1)]]))
                output.add(edge)
        self._edges = FiniteSet(*output)
    return self._edges

dataset/ETHPy150Open sympy/sympy/sympy/combinatorics/polyhedron.py Polyhedron.edges/VarMisuse@61/224 `face`->`i`