|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Vertex | |
---|---|
de.javagl.simplemesh | Simple interfaces for indexed meshes |
de.javagl.simplemesh.impl | Default implementations of the mesh interfaces |
de.javagl.simplemesh.ui | |
de.javagl.simplemesh.utils | Utility classes for meshes |
Uses of Vertex in de.javagl.simplemesh |
---|
Methods in de.javagl.simplemesh that return Vertex | |
---|---|
Vertex |
Face.getVertex(int index)
Returns the specified vertex |
Vertex |
Edge.getVertex(int index)
Returns the specified vertex |
Methods in de.javagl.simplemesh that return types with arguments of type Vertex | |
---|---|
java.util.List<Vertex> |
MeshPrimitives.getVertices()
Returns an unmodifiable list of vertices. |
java.util.List<Vertex> |
Mesh.getVertices(Vertex vertex)
Returns an unmodifiable list of vertices that are adjacent to the given vertex. |
Methods in de.javagl.simplemesh with parameters of type Vertex | |
---|---|
java.util.List<Edge> |
Mesh.getEdges(Vertex vertex)
Returns an unmodifiable list of edges that are adjacent to the given vertex. |
java.util.List<Face> |
Mesh.getFaces(Vertex vertex)
Returns an unmodifiable list of faces that are adjacent to the given vertex. |
java.util.List<Vertex> |
Mesh.getVertices(Vertex vertex)
Returns an unmodifiable list of vertices that are adjacent to the given vertex. |
Uses of Vertex in de.javagl.simplemesh.impl |
---|
Classes in de.javagl.simplemesh.impl that implement Vertex | |
---|---|
class |
DefaultVertex
Default implementation of a Vertex . |
Methods in de.javagl.simplemesh.impl that return Vertex | |
---|---|
Vertex |
DefaultFace.getVertex(int index)
|
Vertex |
DefaultEdge.getVertex(int index)
|
Methods in de.javagl.simplemesh.impl that return types with arguments of type Vertex | |
---|---|
java.util.List<Vertex> |
DefaultMeshPrimitives.getVertices()
|
java.util.List<Vertex> |
DefaultMesh.getVertices()
|
java.util.List<Vertex> |
DefaultMesh.getVertices(Vertex vertex)
|
Methods in de.javagl.simplemesh.impl with parameters of type Vertex | |
---|---|
java.util.List<Edge> |
DefaultMesh.getEdges(Vertex vertex)
|
java.util.List<Face> |
DefaultMesh.getFaces(Vertex vertex)
|
java.util.List<Vertex> |
DefaultMesh.getVertices(Vertex vertex)
|
Constructors in de.javagl.simplemesh.impl with parameters of type Vertex | |
---|---|
DefaultEdge(int index,
Vertex v0,
Vertex v1)
Creates a new edge with the given index and vertices |
|
DefaultFace(int index,
Vertex... vertices)
Creates a new face with the given index and vertices |
|
DefaultVertex(int index,
Vertex other)
Creates a new vertex with the given index, at the same position as the given vertex. |
Constructor parameters in de.javagl.simplemesh.impl with type arguments of type Vertex | |
---|---|
DefaultMeshPrimitives(java.util.Collection<? extends Vertex> vertices,
java.util.Collection<? extends Edge> edges,
java.util.Collection<? extends Face> faces)
Creates new mesh primtives that contain copies of the given collections. |
Uses of Vertex in de.javagl.simplemesh.ui |
---|
Method parameters in de.javagl.simplemesh.ui with type arguments of type Vertex | |
---|---|
void |
GeometryView.addVertices(java.lang.Iterable<Vertex> vertices,
java.awt.Color color)
|
Uses of Vertex in de.javagl.simplemesh.utils |
---|
Methods in de.javagl.simplemesh.utils that return Vertex | |
---|---|
static Vertex |
Adjacency.getAdjacent(Face face,
Edge edge)
Returns the vertex of the given face that is adjacent (but not incident) to the given edge. |
Methods in de.javagl.simplemesh.utils that return types with arguments of type Vertex | |
---|---|
static java.util.Map<Vertex,java.util.List<Edge>> |
Topology.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>> |
Topology.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>> |
Topology.computeVertexNeighbors(java.lang.Iterable<? extends Edge> edges)
Compute a map from all vertices of the given edges to their respective list of neighbors. |
static java.util.Map<Vertex,java.util.List<Vertex>> |
Topology.computeVertexNeighbors(java.lang.Iterable<? extends Edge> edges)
Compute a map from all vertices of the given edges to their respective list of neighbors. |
Methods in de.javagl.simplemesh.utils with parameters of type Vertex | |
---|---|
static float |
Vertices.distance(Vertex v0,
Vertex v1)
Returns the distance between the given vertices |
static float |
Vertices.distanceSquared(Vertex v0,
Vertex v1)
Returns the squared distance between the given vertices |
static boolean |
Adjacency.equal(Vertex v0,
Vertex v1,
Edge edge)
Returns whether the given vertices are equal to the ones of the given edge (in any order) |
Method parameters in de.javagl.simplemesh.utils with type arguments of type Vertex | |
---|---|
static float |
Vertices.computeMaxX(java.lang.Iterable<? extends Vertex> vertices)
Compute the maximum x-coordinate of the given vertices |
static float |
Vertices.computeMaxY(java.lang.Iterable<? extends Vertex> vertices)
Compute the maximum y-coordinate of the given vertices |
static float |
Vertices.computeMaxZ(java.lang.Iterable<? extends Vertex> vertices)
Compute the maximum z-coordinate of the given vertices |
static float |
Vertices.computeMinX(java.lang.Iterable<? extends Vertex> vertices)
Compute the minimum x-coordinate of the given vertices |
static float |
Vertices.computeMinY(java.lang.Iterable<? extends Vertex> vertices)
Compute the minimum y-coordinate of the given vertices |
static float |
Vertices.computeMinZ(java.lang.Iterable<? extends Vertex> vertices)
Compute the minimum z-coordinate of the given vertices |
static float[] |
MeshPrimitivesArrays.createVerticesArray(java.util.Collection<? extends Vertex> vertices,
int stride)
Creates an array containing the coordinates of the given vertices, with the given stride. |
static void |
Vertices.scale(java.lang.Iterable<? extends Vertex> vertices,
float scale)
Scale the given vertices with the given factor |
static void |
Vertices.translate(java.lang.Iterable<? extends Vertex> vertices,
float dx,
float dy,
float dz)
Translate the given vertices by the given amount |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |