jme3tools.optimize
Class TriangleCollector

java.lang.Object
  extended by jme3tools.optimize.TriangleCollector

public class TriangleCollector
extends java.lang.Object


Constructor Summary
TriangleCollector()
           
 
Method Summary
static java.util.List<Geometry> gatherTris(Geometry[] inGeoms, java.util.List<OCTTriangle> tris)
          Grabs all the triangles specified in tris from the input array (using the indices OCTTriangle.getGeometryIndex() & OCTTriangle.getTriangleIndex()) then organizes them into output geometry.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TriangleCollector

public TriangleCollector()
Method Detail

gatherTris

public static final java.util.List<Geometry> gatherTris(Geometry[] inGeoms,
                                                        java.util.List<OCTTriangle> tris)
Grabs all the triangles specified in tris from the input array (using the indices OCTTriangle.getGeometryIndex() & OCTTriangle.getTriangleIndex()) then organizes them into output geometry.

Parameters:
inGeoms -
tris -
Returns:
The optimized geometries