m3sh.hds

Halfedge data structure.

An orientable 2-manifold mesh (with or without boundary) is described by three containers:

These containers and the relations between their items are managed by the Mesh class.

Note

To ease debugging, this module relies on assertions which can slow down script execution. You can disable assertions by running in optimized mode via the “-O” command line argument.

Classes

Face(index)

Face base class.

Halfedge(origin, target)

Halfedge base class.

Mesh([points, faces])

Mesh kernel.

Vertex(index[, parent])

Vertex base class.

Exceptions

NonManifoldError

Manifold exception base class.