public final class PgFaceStar extends PiVector
There may be more than two volume elements joining a face.
Note, when superclass has changed to PiVector then method this#getSize() has been renamed to this#getValence() to avoid conflict PiVector#getSize().
Constructor and Description |
---|
PgFaceStar()
Create a new face.
|
PgFaceStar(int v1,
int v2,
int v3)
Create a new face with given vertex indices, and valence zero.
|
PgFaceStar(int v1,
int v2,
int v3,
int v4)
Create a new face with given vertex indices, and valence zero.
|
Modifier and Type | Method and Description |
---|---|
void |
addElement(int elemInd,
int locNeighInd)
Add another volume element and the local index of its vertex opposite to the face.
|
java.lang.Object |
clone()
Clone object and all instance variables.
|
void |
copy(PiVector object)
Copy instance variables by duplication, not by copying a reference.
|
PiVector |
getElementInd()
Get array with indices of adjacent volume elements.
|
int |
getElementInd(int ind)
Get index of volume element at position 'ind'.
|
PiVector |
getNeighbourLocInd()
Get array containing the local index of neighbour vertex of all volume elements.
|
int |
getNeighbourLocInd(int ind)
Get local index of neighbour vertex of volume element at position 'ind'.
|
int |
getValence()
Get current number of adjacent volume elements sharing this face.
|
int |
getVertexInd(int ind)
Get index of i-th vertex of face.
|
void |
setElementInd(int ind,
int elemInd)
Set index of volume element at valence position 'ind' within 0 and current valence.
|
void |
setNeighbourLocInd(int ind,
int locNeighInd)
Set local index of adjacent volume element at valence position 'ind' within 0 and current valence.
|
void |
setValence(int val)
Set currently number of adjacent volume elements sharing this face.
|
java.lang.String |
toString()
Create a multi-line string representation
with detailed information about all instance variables.
|
add, add, add, add, addEntry, adjustSizes, alloc, average, blend, blend, blendBase, blendNew, changeValue, changeValue, concat, concatNew, contains, copy, copy, copy, copyArray, copyNew, copyNew, copyNew, copyNew, dist, dot, dot, equals, equals, equals, getEntries, getEntries, getEntry, getFirstEntry, getIndexOf, getLastEntry, getLength, getSameSize, getSize, hasUniqueEntries, indexOfAbsMax, indexOfAbsMin, indexOfMax, indexOfMin, indexOfValueInOrdering, invert, invert, leftMultMatrix, leftMultMatrix, length, max, max, maxAbs, min, min, multScalar, multScalar, normalize, normalize, realloc, realloc, removeEntry, removeSuccessiveDuplicates, rightMultMatrix, rightMultMatrix, set, set, set, set, set, set, set, set, setConstant, setConstant, setConstant, setConstant, setConstant, setEntry, setFirstEntry, setLastEntry, setLength, setSize, shift, sort, sort, sqrDist, sqrLength, sub, sub, subNew, sum, toShortString
public PgFaceStar()
public PgFaceStar(int v1, int v2, int v3)
public PgFaceStar(int v1, int v2, int v3, int v4)
public void copy(PiVector object)
public java.lang.Object clone()
clone
in class PiVector
copy(PiVector)
public java.lang.String toString()
toString
in class PiVector
PiVector.toShortString()
public int getValence()
public void setValence(int val)
public void addElement(int elemInd, int locNeighInd)
public int getVertexInd(int ind)
ind
- local index vertex in this facepublic PiVector getElementInd()
public int getElementInd(int ind)
public void setElementInd(int ind, int elemInd)
public PiVector getNeighbourLocInd()
public int getNeighbourLocInd(int ind)
public void setNeighbourLocInd(int ind, int locNeighInd)
"