|
|||||||||
| 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. |
IPoint3D |
getPosition()
Gets the impact position. |
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. |
IPoint3D |
getSlideResponse()
Gets a new displacement vector to perform sliding. |
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 getSlideResponse()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||