|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Used for accessing to a SolidSphere3DResult.
SolidSphere3DResult are used by SolidSphere3D.
SolidSphere3DResult give information about an impact
Some of the informations given are : the distance to the impact point,new displacement vector for sliding, possible displacement without impact, impact sliding plane equation, impact position on scene and on this SolidSphere3D,etc...
ISolidSphere3D
,
Copyright Bruno Augier 2005
Method Summary | |
double |
getDistance()
Gets the distance to impact. |
int |
getFace3DId()
Gets id of the Face3D hitted in the Mesh3D. |
int |
getMesh3DId()
Gets id of the Mesh3D hitted in the scene. |
IPoint3D |
getPosition()
Gets the impact position. |
IPoint3D |
getResponse()
Gets a the response displacement vector . |
double |
getSlideDistanceOver()
Gets how much the hitted plane is traversed. |
IPoint3D |
getSlidePlane()
Gets the hitted face plane normal. |
double |
getSlidePlaneOffset()
Gets the plane "d" parameter in the equation a*x+b*y+c*z+d=0 for the hitted face. |
boolean |
isImpact()
Gets the impact result. |
void |
resetImpact()
Reset object. |
Method Detail |
public void resetImpact()
public boolean isImpact()
public double getDistance()
public double getSlideDistanceOver()
public IPoint3D getSlidePlane()
public double getSlidePlaneOffset()
public IPoint3D getPosition()
public IPoint3D getResponse()
public int getMesh3DId()
public int getFace3DId()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |