public static void main(String[] args) { System.out.println("Spectral Drawing 3D"); Graph g = AdjacencyGraph.constructDodecahedron(); System.out.println("graph initialized"); SpectralDrawing_3<Point_3> d = new SpectralDrawing_3<Point_3>(g); d.computeDrawing(); d.draw3D(); }
/** Test SpectralDrawing methods */ public static void main(String[] args) { System.out.println("Spectral Drawing 2D"); Graph g = AdjacencyGraph.constructCube(); System.out.println("graph initialized"); SpectralDrawing_2<Point_2> d = new SpectralDrawing_2<Point_2>(g); d.computeDrawing(); d.draw2D(); }