de.javagl.simplemesh
Interface MeshPrimitives

All Superinterfaces:
java.io.Serializable
All Known Subinterfaces:
Mesh
All Known Implementing Classes:
DefaultMesh, DefaultMeshPrimitives

public interface MeshPrimitives
extends java.io.Serializable

Simple interface summarizing collections of mesh primitives, namely, lists of indexed Vertices, Edges and Faces.


Method Summary
 java.util.List<Edge> getEdges()
          Returns an unmodifiable list of edges.
 java.util.List<Face> getFaces()
          Returns an unmodifiable list of faces.
 java.util.List<Vertex> getVertices()
          Returns an unmodifiable list of vertices.
 

Method Detail

getVertices

java.util.List<Vertex> getVertices()
Returns an unmodifiable list of vertices.

Returns:
The list of vertices.

getEdges

java.util.List<Edge> getEdges()
Returns an unmodifiable list of edges.

Returns:
The list of edges.

getFaces

java.util.List<Face> getFaces()
Returns an unmodifiable list of faces.

Returns:
The list of faces.