curver.kernel.triangulation.Edge

class curver.kernel.triangulation.Edge(label)[source]

Bases: object

This represents an oriented edge, labelled with an integer.

It is specified by its label and its inverse edge is labelled with ~its label.

These are really just integers but with fancy printing and indexing set up on them.

index
label
set_sign(sign)[source]

Return whichever of self or ~self has the given sign.

sign()[source]

Return the sign (+/-1) of this edge.