net.dzzd.access
Interface IMesh3DCollisionGenerator

All Known Subinterfaces:
IHeightMap3D

public interface IMesh3DCollisionGenerator

Used for accessing to a Mesh3DCollisionGenerator.
IMesh3DCollisionGenerator are able to generate a subset of Face3D as a Face3DList to test for collisions on a Mesh3D.

Since:
1.0
Version:
1.0, 01/01/04
Author:
Bruno Augier
See Also:
IMesh3D

Method Summary
 void generateForSolidSphere3DCollision(double x, double y, double z, double tx, double ty, double tz, double radius)
          Generate a (LOD) Face3DList potentialy hitted for a SolidSphere3D collision test.
 IFace3DList getCollisionFace3DList()
          Gets Face3DList generated by the last call to any generateXXX() method.
 int getNbCollisionFaces()
          Gets number of Face3D generated by the last call to any generateXXX() method.
 

Method Detail

generateForSolidSphere3DCollision

public void generateForSolidSphere3DCollision(double x,
                                              double y,
                                              double z,
                                              double tx,
                                              double ty,
                                              double tz,
                                              double radius)
Generate a (LOD) Face3DList potentialy hitted for a SolidSphere3D collision test.
Collision values must be given in object space

Parameters:
x - collision start point x in object space
y - collision start point y in object space
z - collision start point z in object space
tx - collision end point x in object space
ty - collision end point y in object space
tz - collision end point z in object space
radius - radius for collision

getNbCollisionFaces

public int getNbCollisionFaces()
Gets number of Face3D generated by the last call to any generateXXX() method.

Returns:
number of Face3D that was generated for last call to any generateXXX() method

getCollisionFace3DList

public IFace3DList getCollisionFace3DList()
Gets Face3DList generated by the last call to any generateXXX() method.

Returns:
Face3DList that was generated for last call to any generateXXX() method