dzzd
Interface ISolidSphere3D

All Superinterfaces:
IProgress, ISceneObject

public interface ISolidSphere3D
extends ISceneObject

Used for accessing to a SolidSphere3D. SolidSphere3D sphere give an easy way to perform simple physics aswell as more complexe physics by using multiple instance of SolidSphere3D.

SolidSphere3D can be moved trought a scene and returns useful informations about last impacts performed:

Some informations returned 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...

Since:
1.0
Version:
1.0
Author:
Bruno Augier
See Also:
ISolidSphere3DResult, Copyright Bruno Augier 2005

Method Summary
 IPoint3D getDestination()
           
 double getRadius()
           
 ISolidSphere3DResult getResult()
           
 IPoint3D getSource()
           
 ISolidSphere3DResult move()
           
 ISolidSphere3DResult moveSlide(int nbLoop)
           
 void setDestination(double x, double y, double z)
           
 void setDestination(IPoint3D destination)
           
 void setRadius(double radius)
           
 void setScene3D(IScene3D scene)
           
 void setSource(double x, double y, double z)
           
 void setSource(IPoint3D source)
           
 
Methods inherited from interface dzzd.ISceneObject
getId, getName, getScene3D, setId, setName
 
Methods inherited from interface dzzd.IProgress
getCurrentState, getNextState, getProgress, isStateReached, setProgress
 

Method Detail

setScene3D

public void setScene3D(IScene3D scene)

setRadius

public void setRadius(double radius)

getRadius

public double getRadius()

getSource

public IPoint3D getSource()

getDestination

public IPoint3D getDestination()

setSource

public void setSource(IPoint3D source)

setDestination

public void setDestination(IPoint3D destination)

setSource

public void setSource(double x,
                      double y,
                      double z)

setDestination

public void setDestination(double x,
                           double y,
                           double z)

move

public ISolidSphere3DResult move()

moveSlide

public ISolidSphere3DResult moveSlide(int nbLoop)

getResult

public ISolidSphere3DResult getResult()