Package one.empty3.library.core.extra
Class Spirale
- java.lang.Object
-
- one.empty3.library.core.extra.Spirale
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addToScene(Scene sc)
TRIObject
getObj()
Point3D
getObjectDeviation(Point3D position)
Point3D
getObjectDeviation(Point3D position, Point3D speed, Point3D rotation)
Point3D
getObjectRotation(Point3D position)
Point3D
getObjectRotation(Point3D position, Point3D speed, Point3D rotation)
double
getRadius()
void
rotate()
void
rotate(double deg)
void
setObj(TRIObject obj)
void
setRadius(double radius)
-
-
-
Constructor Detail
-
Spirale
public Spirale(Axe axe, double radius)
-
-
Method Detail
-
addToScene
public void addToScene(Scene sc)
- Specified by:
addToScene
in interfaceISpirale
-
getObj
public TRIObject getObj()
-
setObj
public void setObj(TRIObject obj)
-
getObjectDeviation
public Point3D getObjectDeviation(Point3D position)
- Specified by:
getObjectDeviation
in interfaceISpirale
-
getObjectDeviation
public Point3D getObjectDeviation(Point3D position, Point3D speed, Point3D rotation)
- Specified by:
getObjectDeviation
in interfaceISpirale
-
getObjectRotation
public Point3D getObjectRotation(Point3D position)
- Specified by:
getObjectRotation
in interfaceISpirale
-
getObjectRotation
public Point3D getObjectRotation(Point3D position, Point3D speed, Point3D rotation)
- Specified by:
getObjectRotation
in interfaceISpirale
-
getRadius
public double getRadius()
-
setRadius
public void setRadius(double radius)
-
-