|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectartofillusion.object.MeshVertex
artofillusion.object.TriangleMesh.Vertex
public class TriangleMesh.Vertex
A vertex specifies a position vector, the number of edges which share the vertex, and the "first" edge. If the vertex is in the interior of the mesh, any edge can be the first one. If it is on the boundary, then the first edge must be one of the two boundary edges. A vertex also has a "smoothness" parameter associated with it.
Field Summary | |
---|---|
int |
edges
|
int |
firstEdge
|
float |
smoothness
|
Fields inherited from class artofillusion.object.MeshVertex |
---|
ikJoint, ikWeight, r |
Constructor Summary | |
---|---|
TriangleMesh.Vertex(TriangleMesh.Vertex v)
|
|
TriangleMesh.Vertex(Vec3 p)
|
Method Summary | |
---|---|
void |
clear()
Set the various fields to zero. |
boolean |
clockwise()
This method tells whether the list of edges returned by getEdges() are ordered clockwise or counter-clockwise. |
void |
copy(TriangleMesh.Vertex v)
Make this vertex identical to another one. |
int[] |
getEdges()
Construct a list of all edges which share the vertex. |
void |
scale(double d)
Multiple the fields of this vertex by a constant. |
Methods inherited from class artofillusion.object.MeshVertex |
---|
blend |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public int edges
public int firstEdge
public float smoothness
Constructor Detail |
---|
public TriangleMesh.Vertex(Vec3 p)
public TriangleMesh.Vertex(TriangleMesh.Vertex v)
Method Detail |
---|
public void copy(TriangleMesh.Vertex v)
public void scale(double d)
public void clear()
public int[] getEdges()
public boolean clockwise()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |