org.jagatoo.loaders.models.collada.datastructs.geometries
Class TrianglesGeometry

java.lang.Object
  extended by org.jagatoo.loaders.models.collada.datastructs.geometries.Geometry
      extended by org.jagatoo.loaders.models.collada.datastructs.geometries.TrianglesGeometry

public class TrianglesGeometry
extends Geometry

COLLADA Geometry which has been loaded from a COLLADA file with the format "triangles". All data here is public since it may be accessed very frequently, thus it's a good thing that we do not need to access it via getter/setter methods.


Constructor Summary
TrianglesGeometry(AssetFolder file, java.lang.String id, java.lang.String name, XMLGeometry geometry)
          Creates a new COLLADAGeometry.
 
Method Summary
 TrianglesGeometry copy()
          
 
Methods inherited from class org.jagatoo.loaders.models.collada.datastructs.geometries.Geometry
getFile, getGeometry, getId, getMesh, getName, setMesh
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TrianglesGeometry

public TrianglesGeometry(AssetFolder file,
                         java.lang.String id,
                         java.lang.String name,
                         XMLGeometry geometry)
Creates a new COLLADAGeometry.

Parameters:
file - The given AssetFolder to load from
id -
name -
geometry - the geometry
Method Detail

copy

public TrianglesGeometry copy()

Specified by:
copy in class Geometry
Returns:
a shared copy of this Geometry. (The sources are shared.)