|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.javagl.simplemesh.impl.DefaultMesh
public class DefaultMesh
Default implementation of a Mesh.
| Constructor Summary | |
|---|---|
DefaultMesh(MeshPrimitives meshPrimitives)
Creates a new mesh from the given primitives |
|
| Method Summary | |
|---|---|
java.util.List<Edge> |
getEdges()
Returns an unmodifiable list of edges. |
java.util.List<Edge> |
getEdges(Vertex vertex)
Returns an unmodifiable list of edges that are adjacent to the given vertex. |
java.util.List<Face> |
getFaces()
Returns an unmodifiable list of faces. |
java.util.List<Face> |
getFaces(Edge edge)
Returns an unmodifiable list of faces that are adjacent to the given edge. |
java.util.List<Face> |
getFaces(Vertex vertex)
Returns an unmodifiable list of faces that are adjacent to the given vertex. |
java.util.List<Vertex> |
getVertices()
Returns an unmodifiable list of vertices. |
java.util.List<Vertex> |
getVertices(Vertex vertex)
Returns an unmodifiable list of vertices that are adjacent to the given vertex. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMesh(MeshPrimitives meshPrimitives)
meshPrimitives - The mesh primitives| Method Detail |
|---|
public java.util.List<Face> getFaces()
MeshPrimitives
getFaces in interface MeshPrimitivespublic java.util.List<Edge> getEdges()
MeshPrimitives
getEdges in interface MeshPrimitivespublic java.util.List<Vertex> getVertices()
MeshPrimitives
getVertices in interface MeshPrimitivespublic java.util.List<Face> getFaces(Edge edge)
Mesh
getFaces in interface Meshedge - The edge
public java.util.List<Edge> getEdges(Vertex vertex)
Mesh
getEdges in interface Meshvertex - The vertex
public java.util.List<Face> getFaces(Vertex vertex)
Mesh
getFaces in interface Meshvertex - The vertex
public java.util.List<Vertex> getVertices(Vertex vertex)
Mesh
getVertices in interface Meshvertex - The vertex
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||