net.dzzd.access
Interface ISolidSphere3D

All Superinterfaces:
IMonitoredSceneObject, IRender3DMode, IScene2DObject, IScene3DObject, ISceneObject

public interface ISolidSphere3D
extends IScene3DObject

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 moveBounce(int nbLoop, double bounceFactor)
           
 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 net.dzzd.access.IScene3DObject
addChild, getAxis3D, getCenter, getClone, getFirstChild, getNextChild, getParent, getPivot, getPosition, getRotation, getScene3D, getScene3DObjectAnimator, getSphereBox, getZoom, isActive, isSolid, isVisible, loopAtScene3DObjectAnimator, pauseScene3DObjectAnimator, playScene3DObjectAnimator, removeChild, resumeScene3DObjectAnimator, setActive, setAxis3DToWorld, setParent, setPoint3DToWorld, setScene3DObjectAnimator, setSolid, setSphereBox, setVisible, startScene3DObjectAnimator, startScene3DObjectAnimator, startScene3DObjectAnimator, stopScene3DObjectAnimator, zoom
 
Methods inherited from interface net.dzzd.access.ISceneObject
build, clearProperties, copy, getBuild, getId, getName, getProperty, getScene, setBuild, setId, setName, setProperty
 
Methods inherited from interface net.dzzd.access.IMonitoredSceneObject
copy
 
Methods inherited from interface net.dzzd.access.IRender3DMode
disableRender3DMode, enableRender3DMode, getRender3DMode, getRender3DModeFlags, setRender3DModeFlags
 

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)

moveBounce

public ISolidSphere3DResult moveBounce(int nbLoop,
                                       double bounceFactor)

getResult

public ISolidSphere3DResult getResult()