HalfEdge

HalfEdge()

Represents a part of an edge that connects to one vertex. It can be directed or undirected.

Methods

Name Description
data Get the data associated with the half-edge.
direction Get the direction of the half-edge. True means outgoing, False means incoming, and None means undirected.
flip Return a new half-edge with the direction flipped. Undirected edges remain undirected.

data

HalfEdge.data()

Get the data associated with the half-edge.

direction

HalfEdge.direction()

Get the direction of the half-edge. True means outgoing, False means incoming, and None means undirected.

flip

HalfEdge.flip()

Return a new half-edge with the direction flipped. Undirected edges remain undirected.