|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.oemm.OEMM.Node
public static class OEMM.Node
This class represents octants of an OEMM. Octants can either be leaves or internal nodes.
Field Summary | |
---|---|
TIntArrayList |
adjLeaves
List of adjacent leaves. |
OEMM.Node[] |
child
Array of 8 children nodes. |
long |
counter
Counter. |
java.lang.String |
file
File containing vertices and triangles. |
int |
i0
Integer coordinates of lower-left corner. |
boolean |
isLeaf
Flag set when this node a leaf. |
int |
j0
Integer coordinates of lower-left corner. |
int |
k0
Integer coordinates of lower-left corner. |
int |
leafIndex
Leaf index in OEMM.leaves . |
int |
maxIndex
Maximal index allowed for vertices found in this node and its children. |
int |
minIndex
First index of all vertices found in this node and its children. |
OEMM.Node |
parent
Parent node. |
int |
size
Cell size. |
int |
tn
Total number of triangles found in this node and its children. |
int |
vn
Number of vertices found in this node and its children. |
Constructor Summary | |
---|---|
OEMM.Node(int s,
int[] ijk)
Creates a new leaf. |
|
OEMM.Node(int s,
int i0,
int j0,
int k0)
Creates a new leaf. |
Method Summary | |
---|---|
int |
getMaxIndex()
This methods calculate mexIndex of OEMM.Node. |
void |
setPathComponents(java.util.ArrayList<java.lang.String> dir,
int octant)
|
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int i0
public int j0
public int k0
public int size
public int tn
public int vn
public transient OEMM.Node[] child
public transient OEMM.Node parent
public transient boolean isLeaf
public transient java.lang.String file
public transient long counter
public int leafIndex
OEMM.leaves
.
public int minIndex
public int maxIndex
public transient TIntArrayList adjLeaves
Constructor Detail |
---|
public OEMM.Node(int s, int i0, int j0, int k0)
s
- cell sizei0
- 1st coordinate of its lower-left cornerj0
- 2nd coordinate of its lower-left cornerk0
- 3rd coordinate of its lower-left cornerpublic OEMM.Node(int s, int[] ijk)
s
- cell sizeijk
- coordinates of an interior pointMethod Detail |
---|
public void setPathComponents(java.util.ArrayList<java.lang.String> dir, int octant)
public java.lang.String toString()
toString
in class java.lang.Object
public int getMaxIndex()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |