Class MeshLoader
java.lang.Object
Jcg.mesh.MeshLoader
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Polyhedron_3<Point_2> getPlanarMesh(String filename) Load a planar mesh embedded in 2D (Polyhedron_3) from an .off file It uses a shared vertex representation as intermediate data structure static Polyhedron_3<Point_2> getRandomPlanarTriangulation(int n) Generating a random planar triangulation of size n+2 (with uniform distribution)static Polyhedron_3<Point_3> getSurfaceMesh(String filename) Load a surface mesh embedded in 3D (Polyhedron_3) from an OFF or OBJ file It uses a shared vertex representation as intermediate data structure
-
Constructor Details
-
MeshLoader
public MeshLoader()
-
-
Method Details
-
getPlanarMesh
Load a planar mesh embedded in 2D (Polyhedron_3) from an .off file It uses a shared vertex representation as intermediate data structure -
getSurfaceMesh
Load a surface mesh embedded in 3D (Polyhedron_3) from an OFF or OBJ file It uses a shared vertex representation as intermediate data structure -
getRandomPlanarTriangulation
Generating a random planar triangulation of size n+2 (with uniform distribution)
-