Package one.empty3.library.core.move
Class SimpleTrajectory
java.lang.Object
one.empty3.library.core.move.SimpleTrajectory
- All Implemented Interfaces:
Trajectory
- Direct Known Subclasses:
LineTrajectory
,TrajectoryMoveeObject
-
Field Summary
FieldsFields inherited from interface one.empty3.library.core.move.Trajectory
POINTS_INTERMEDIATE_BEZIER, POINTS_INTERMEDIATE_LINE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPoints
(Collection<Point3D> points) void
abstract Point3D
calculerPoint3D
(double timeEllapsedNano) Point3D[]
boolean
-
Field Details
-
nanoTime
public long nanoTime
-
-
Constructor Details
-
SimpleTrajectory
public SimpleTrajectory()
-
-
Method Details
-
hasMorePoints
public boolean hasMorePoints()- Specified by:
hasMorePoints
in interfaceTrajectory
-
getNextPointAndRemove
- Specified by:
getNextPointAndRemove
in interfaceTrajectory
-
getIntermediatePointsUntilNext
- Specified by:
getIntermediatePointsUntilNext
in interfaceTrajectory
-
addPoints
- Specified by:
addPoints
in interfaceTrajectory
-
addPoints
- Specified by:
addPoints
in interfaceTrajectory
-
calculerPoint3D
-