FaceView#
- class FaceView(nodes)#
Bases:
NodeView
Represents a view of the faces of a planar graph.
A face (region, are) is a sequence of endpoints. Given a face on the plane, a face is given by the target (second) endpoint when travelling around the face in a CCW faction.
Provides methods for iterating over, accessing, and representing the faces of the graph calculated based on the sphere’s Euler characteristic. A NodeView serves as the underlying structure from which this class derives its functionality.
- __init__(nodes)#
Methods
__init__
(nodes)arcs
(node)get
(k[,d])isdisjoint
(other)Return True if two sets have a null intersection.
items
()keys
()values
()- get(k[, d]) D[k] if k in D, else d. d defaults to None. #
- isdisjoint(other)#
Return True if two sets have a null intersection.
- items() a set-like object providing a view on D's items #
- keys() a set-like object providing a view on D's keys #
- values() an object providing a view on D's values #