|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jocl.cloth.EdgeData
class EdgeData
A plain structure holding the data of a set of edges.
Field Summary | |
---|---|
(package private) float[] |
edgeRestLengths
Stores for each edge its rest length. |
(package private) int[] |
edgeVertexIndices
The vertex indices for each edge. |
(package private) int |
numEdges
The number of edges |
Constructor Summary | |
---|---|
EdgeData()
Default constructor |
Method Summary | |
---|---|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
int numEdges
int[] edgeVertexIndices
edgeVertexIndices[edgeIndex*2+0] = edge.vertexIndex0; edgeVertexIndices[edgeIndex*2+1] = edge.vertexIndex1; where edgeIndex = 0...numEdges-1
float[] edgeRestLengths
edgeRestLengths[edgeIndex] = edge.restLength; where edgeIndex = 0...numEdges-1
Constructor Detail |
---|
EdgeData()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |