org.openmali.spatial
Interface WriteableTriangleContainer

All Superinterfaces:
TriangleContainer

public interface WriteableTriangleContainer
extends TriangleContainer

Provides writeable access to the triangles in an object.


Method Summary
 boolean setTriangle(int i, Triangle triangle)
          This allows the spatial container to have access to all the triangles in the object.
 
Methods inherited from interface org.openmali.spatial.TriangleContainer
getTriangle, getTriangleCount
 

Method Detail

setTriangle

boolean setTriangle(int i,
                    Triangle triangle)
This allows the spatial container to have access to all the triangles in the object. This allows for the computation of bounding boxes which completely enclose geometry. The triangles need to be returned in world coordinates, not local coordinates.

Parameters:
i -
triangle -