|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jcae.mesh.oemm.Aggregate
public class Aggregate
Merge adjacent octree nodes.
Children are merged if these two conditions are met: the total number of
triangles in merged nodes does not exceed a given threshold, and levels of
adjacent nodes do not differ more than MAX_DELTA_LEVEL
.
This process is an optimization to have fewer octree nodes.
Constructor Summary | |
---|---|
Aggregate()
|
Method Summary | |
---|---|
static int |
compute(OEMM oemm,
int max)
Merge nodes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Aggregate()
Method Detail |
---|
public static final int compute(OEMM oemm, int max)
oemm
- OEMM instancemax
- maximal number of triangles in merged cells
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |