Class TestPolyhedron
java.lang.Object
Jcg.test.TestPolyhedron
A class for testing the Half-edge data structure representing polyhedral surfaces.
3D rendering is performed using a Mesh Viewer based on Processing (version 1.51)
- Author:
- Luca Castelli Aleardi (INF562, 2019)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic voidmeshConversion(String filename) Load a mesh from an OFF file, shows statistics and check validitystatic voidmeshStatistics(String filename) Load a mesh from an OFF file, shows statistics and check validitystatic voidTesting a plane triangulation (loaded from an OFF file)
-
Constructor Details
-
TestPolyhedron
public TestPolyhedron()
-
-
Method Details
-
test2D
Testing a plane triangulation (loaded from an OFF file) -
meshStatistics
Load a mesh from an OFF file, shows statistics and check validity -
meshConversion
Load a mesh from an OFF file, shows statistics and check validity -
main
-