com.jme3.math
Class AbstractTriangle

java.lang.Object
  extended by com.jme3.math.AbstractTriangle
All Implemented Interfaces:
Collidable
Direct Known Subclasses:
Triangle

public abstract class AbstractTriangle
extends java.lang.Object
implements Collidable


Constructor Summary
AbstractTriangle()
           
 
Method Summary
 int collideWith(Collidable other, CollisionResults results)
          Check collision with another Collidable.
abstract  Vector3f get1()
           
abstract  Vector3f get2()
           
abstract  Vector3f get3()
           
abstract  void set(Vector3f v1, Vector3f v2, Vector3f v3)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractTriangle

public AbstractTriangle()
Method Detail

get1

public abstract Vector3f get1()

get2

public abstract Vector3f get2()

get3

public abstract Vector3f get3()

set

public abstract void set(Vector3f v1,
                         Vector3f v2,
                         Vector3f v3)

collideWith

public int collideWith(Collidable other,
                       CollisionResults results)
Description copied from interface: Collidable
Check collision with another Collidable.

Specified by:
collideWith in interface Collidable
Parameters:
other - The object to check collision against
results - Will contain the list of CollisionResults.
Returns:
how many collisions were found between this and other