Uses of Class
Jcg.polyhedron.Polyhedron_3
Packages that use Polyhedron_3
Package
Description
-
Uses of Polyhedron_3 in Jcg.mesh
Methods in Jcg.mesh that return Polyhedron_3Modifier and TypeMethodDescriptionMeshBuilder.createMesh(X[] points, int[] faceDegrees, int[][] faces) Efficient construction of a Polyhedron (Half-edge DS) for a surface mesh (from a share vertex representation)
Remark: it works for arbitrary polygonal meshes,possibly having boundaries(package private) Polyhedron_3<X> MeshBuilder.createMeshOld(X[] points, int[] faceDegrees, int[][] faces) Efficient construction of a polyhedral mesh (Half-edge DS) (from a share vertex representation)static Polyhedron_3<Point_2> MeshLoader.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> MeshLoader.getRandomPlanarTriangulation(int n) Generating a random planar triangulation of size n+2 (with uniform distribution)static Polyhedron_3<Point_3> MeshLoader.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 Methods in Jcg.mesh with parameters of type Polyhedron_3Modifier and TypeMethodDescriptionprivate voidMeshBuilder.addBoundaryEdges(Polyhedron_3<X> mesh) Add and set boundary half-edges to the representation Remark: it allows to deal with meshes having boundariesstatic voidIO.writePolyedronToEDGES(Polyhedron_3 mesh, String filename, String separatingText) Output a 3D (surface) mesh as a list of EDGES (with vertices separated by commas)static voidIO.writePolyedronToMETIS(Polyhedron_3 mesh, String filename) Output a 3D (surface) mesh to METIS filestatic voidIO.writePolyedronToOFF(Polyhedron_3 mesh, double[][] edgeColors, String filename) Output a 3D (surface) triangulation to OFF filestatic voidIO.writePolyedronToOFF(Polyhedron_3 mesh, String filename) Output a 3D (surface) triangulation to OFF filestatic voidIO.writeReversedPolyedronToOFF(Polyhedron_3 mesh, String filename) Reverse the orientation of the input surface and output to OFF file.Constructors in Jcg.mesh with parameters of type Polyhedron_3ModifierConstructorDescriptionSharedVertexRepresentation(Polyhedron_3<Point_3> polyhedron) Create a shared vertex representation from a polyhedron (half-edge data structure) -
Uses of Polyhedron_3 in Jcg.meshgeneration
Fields in Jcg.meshgeneration declared as Polyhedron_3Modifier and TypeFieldDescriptionRandomSamplingTriangulations.polySphereGeneration.polyhedron3Dthe generated mesh to outputStackedGeneration.polyhedron3Dthe generated mesh to outputMethods in Jcg.meshgeneration that return Polyhedron_3Methods in Jcg.meshgeneration with parameters of type Polyhedron_3Modifier and TypeMethodDescriptionstatic voidRegularGridGeneration.save(Polyhedron_3<Point_3> mesh, String filename) -
Uses of Polyhedron_3 in Jcg.pointLocation
Methods in Jcg.pointLocation with parameters of type Polyhedron_3Modifier and TypeMethodDescriptionPlanarPointLocation.locatePoint(Polyhedron_3<Point_2> triangulation, Point_2 queryPoint) Compute and return the face (an incident half-edge) containing the query point -
Uses of Polyhedron_3 in Jcg.polyhedron
Methods in Jcg.polyhedron with parameters of type Polyhedron_3Modifier and TypeMethodDescriptionint[]Face.getVertexIndices(Polyhedron_3<X> polyhedron) Return an array storing the indices of the vertices in the face -
Uses of Polyhedron_3 in Jcg.util
Fields in Jcg.util declared as Polyhedron_3Modifier and TypeFieldDescription(package private) Polyhedron_3MeshStatistics.meshInput mesh (half-edge representation)Methods in Jcg.util with parameters of type Polyhedron_3Modifier and TypeMethodDescriptionstatic int[]MeshStatistics.getVertexDegrees(Polyhedron_3 tri) Return the vertex degree sequence (int[] array)
Warning: the runtime complexity is not optimal (iterating over edges could be slightly faster)Constructors in Jcg.util with parameters of type Polyhedron_3 -
Uses of Polyhedron_3 in Jcg.viewer.old
Methods in Jcg.viewer.old with parameters of type Polyhedron_3Modifier and TypeMethodDescriptionvoidFenetre.addPolyhedronColoredEdges(Polyhedron_3<Point_2> polyhedron, Color[] colors) voidFenetre.addPolyhedronEdges(Polyhedron_3<Point_2> polyhedron) Draw all halfedges of a planar Polyhedron (half-edge DS) -
Uses of Polyhedron_3 in Jcg.viewer.processing3d
Fields in Jcg.viewer.processing3d declared as Polyhedron_3Modifier and TypeFieldDescriptionDrawPolyhedronProcessing.polyhedron3Dthe triangle mesh (to be rendered)Methods in Jcg.viewer.processing3d with parameters of type Polyhedron_3Modifier and TypeMethodDescriptionstatic voidDrawPolyhedronProcessing.resetMeshColors(Polyhedron_3 mesh) Reset face/edge/vertex colors.Constructors in Jcg.viewer.processing3d with parameters of type Polyhedron_3ModifierConstructorDescriptionDrawPolyhedronProcessing(MeshViewerProcessing view, Polyhedron_3<Point_3> polyhedron3D, float[][] edgeColors) Create a surface mesh from a 3D polyhedron (3D surface mesh).DrawPolyhedronProcessing(processing.core.PApplet view, Polyhedron_3<Point_3> polyhedron3D) Create a surface mesh