|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jv.vecmath.P_Vector
|
+--jv.geom.PgElementEdge
Edge of an element set with indices to both endpoints, adjacent elements, and local index of vertex in each element, whose neighbour refers to this edge.
There may be more than two elements joining an edge.
| Field Summary | |
protected int[] |
m_elemInd
Element indices containing edge. |
protected int[] |
m_neighbourLocInd
Local index of vertex in each element such that neighbour value of vertex references to the neighbouring element at this edge. |
protected int |
m_vertInd0
Edge endpoint with smallest vertex index. |
protected int |
m_vertInd1
Edge endpoint with largest vertex index. |
| Fields inherited from class jv.vecmath.P_Vector |
BITS, m_bits, m_constraint, m_name, MASK, NUM_BITS |
| Constructor Summary | |
PgElementEdge(int v1,
int v2)
|
|
| Method Summary | |
void |
addElement(int elemInd,
int neighInd)
Add index of another element and the local index of its vertex opposite to the edge. |
int |
getEdgeInd(int ind)
Get index of first or second vertex of edge. |
int |
getElementInd(int ind)
Get index of element at position 'ind'. |
int[] |
getElements()
Get array with indices of adjacent elements. |
int |
getNeighbourLocInd(int ind)
Get local index of neighbour vertex of element at position 'ind'. |
int |
getSize()
Get currently available number of adjacent elements. |
java.lang.String |
toString()
Create a multi-line string representation with detailed information about all instance variables. |
| Methods inherited from class jv.vecmath.P_Vector |
clearTag, clone, clone, copy, getBits, getName, hasTag, setName, setTag |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected int m_vertInd0
protected int m_vertInd1
protected int[] m_elemInd
protected int[] m_neighbourLocInd
| Constructor Detail |
public PgElementEdge(int v1,
int v2)
| Method Detail |
public java.lang.String toString()
toString in class P_Vectorpublic int getSize()
public void addElement(int elemInd,
int neighInd)
public int getEdgeInd(int ind)
ind - index of first (ind==0) or second (ind==1) vertex of edgepublic int[] getElements()
public int getElementInd(int ind)
public int getNeighbourLocInd(int ind)
|
JavaView® v2.00.008 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||