public class IO
extends java.lang.Object
Constructor and Description |
---|
IO() |
Modifier and Type | Method and Description |
---|---|
static void |
writePolyedronToOFF(Polyhedron_3 mesh,
double[][] edgeColors,
java.lang.String filename)
Output a 3D (surface) triangulation to OFF file
|
static void |
writePolyedronToOFF(Polyhedron_3 mesh,
java.lang.String filename)
Output a 3D (surface) triangulation to OFF file
|
public static void writePolyedronToOFF(Polyhedron_3 mesh, java.lang.String filename)
mesh
- a triangulation (Half-edge representation)
warning: only for triangle meshes (faces must be triangular)public static void writePolyedronToOFF(Polyhedron_3 mesh, double[][] edgeColors, java.lang.String filename)
mesh
- a triangulation (Half-edge representation)edgeColors
- an array containing the colors of edges (one for each half-edge)
warning: only for triangle meshes (faces must be triangular)