|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object
|
+--jv.object.PsObject
|
+--jvx.geom.PgVertexStar
Vertex star of a vertex describes all elements which join a single vertex. The class contains information about
element indices of all elements around central vertex in counter-clockwise orientation. vertex indices of all vertices in link in counter-clockwise orientation. local indices of central vertex in each element.
getFirstElemInd added.isClosed added.| Fields inherited from class jv.object.PsObject |
HAS_CONFIG_PANEL, HAS_INFO_PANEL, HAS_MATERIAL_PANEL, HAS_TEXTURE_PANEL, INSPECTOR_INFO, INSPECTOR_INFO_EXT, IS_DELETED, IS_FIXED, IS_SELECTED, IS_USED, NUM_TAGS |
| Constructor Summary | |
PgVertexStar()
|
|
| Method Summary | |
void |
copy(PsObject object)
Copy base instance variables and prepend "copy_" resp. |
PiVector |
getElement()
Get list of element indices of vertex star. |
int |
getFirstElemInd()
Get the index of first elemInd in m_element array of vertex star. |
PiVector |
getLink()
Get list of vertex indices of vertex star. |
int |
getSize()
Get number of elements in vertex star. |
PiVector |
getVertexLocInd()
Get list of local indices of central vertex in adjacent elements. |
void |
init()
If instance has missing name then assign default name 'object_NUMBER' where number is the total number of already created instances. |
boolean |
isClosed()
Returns whether vertex star around a point is closed. |
void |
makeVertexStar(PgElementSet elemSet,
int vertexInd,
int elemInd)
Create vertex star for given vertex of element set. |
void |
setSize(int size,
boolean closed)
Set number of elements in vertex star. |
java.lang.String |
toString()
Create a multi-line string representation with detailed information about all instance variables. |
| Methods inherited from class jv.object.PsObject |
addInspector, addUpdateListener, assureInspector, clearTag, clone, clone, clone, getFather, getInfoPanel, getInspector, getName, getNumObjects, hasInspector, hasTag, hasUpdateListener, instanceOf, instanceOf, removeInspector, removeUpdateListener, setName, setParent, setTag, update, updatePanels |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public PgVertexStar()
| Method Detail |
public void init()
PsObjectinit in class PsObjectpublic java.lang.String toString()
toString in class PsObjectpublic void copy(PsObject object)
PsObjectcopy in class PsObjectjv.object.PsObjectPsObject.clone()public PiVector getElement()
public PiVector getLink()
public PiVector getVertexLocInd()
public boolean isClosed()
public int getFirstElemInd()
public int getSize()
public void setSize(int size,
boolean closed)
public void makeVertexStar(PgElementSet elemSet,
int vertexInd,
int elemInd)
elemInd==-1, then, if star is closed, elemInd is
the first element referencing the central vertex, or, if star is not closed,
the element on those boundary is taken such that one walks through the star counter-clockwise.elemSet - PgElementSetvertexInd - Index of vertex in global vertex array of elemSetelemInd - Index of element in global element array which references the vertex, might be -1.true on success
|
JavaView® v2.12 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||