FromCombinatorialStructure#

class polpo.preprocessing.mesh.conversion.FromCombinatorialStructure(mesh=None)[source]#

Bases: PreprocessingStep

Get mesh from combinatorial structure.

Parameters:

mesh (Mesh) – Mesh containing combinatorial structure. If None, must be supplied at apply.

apply(data)[source]#

Apply step.

Returns:

mesh (Mesh) – Mesh with new vertices but same combinatorial structure.