|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.javagl.simplemesh.utils.Topology
public class Topology
Utility methods for obtaining topology information from sets of primitives.
Method Summary | |
---|---|
static java.util.Map<Edge,java.util.List<Edge>> |
computeEdgeEdges(java.lang.Iterable<? extends Edge> edges)
Compute a map from all edges to the edges that they are adjacent to |
static java.util.Map<Edge,java.util.List<Face>> |
computeEdgeFaces(java.lang.Iterable<? extends Face> faces)
Compute a map from all edges of the given faces to their respective list of faces. |
static java.util.List<Edge> |
computeEdges(java.lang.Iterable<? extends Face> faces)
Compute the list of edges of the given faces. |
static java.util.Map<Vertex,java.util.List<Edge>> |
computeVertexEdges(java.lang.Iterable<? extends Edge> edges)
Compute a map from all vertices of the given edges to the list of adjacent edges. |
static java.util.Map<Vertex,java.util.List<Face>> |
computeVertexFaces(java.lang.Iterable<? extends Face> faces)
Compute a map from all vertices of the given face to their respective list of faces. |
static java.util.Map<Vertex,java.util.List<Vertex>> |
computeVertexNeighbors(java.lang.Iterable<? extends Edge> edges)
Compute a map from all vertices of the given edges to their respective list of neighbors. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.util.Map<Vertex,java.util.List<Face>> computeVertexFaces(java.lang.Iterable<? extends Face> faces)
faces
- The input face
public static java.util.Map<Edge,java.util.List<Face>> computeEdgeFaces(java.lang.Iterable<? extends Face> faces)
faces
- The input faces
public static java.util.Map<Vertex,java.util.List<Edge>> computeVertexEdges(java.lang.Iterable<? extends Edge> edges)
edges
- The input edges
public static java.util.Map<Vertex,java.util.List<Vertex>> computeVertexNeighbors(java.lang.Iterable<? extends Edge> edges)
edges
- The input edges
public static java.util.Map<Edge,java.util.List<Edge>> computeEdgeEdges(java.lang.Iterable<? extends Edge> edges)
edges
- The edges
public static java.util.List<Edge> computeEdges(java.lang.Iterable<? extends Face> faces)
faces
- The input faces
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |