Class Turtle

All Implemented Interfaces:
Serializable, Comparable, TemporalComputedObject3D, MatrixPropertiesObject, XmlRepresentable

public class Turtle extends ParametricCurve
See Also:
  • Constructor Details

    • Turtle

      public Turtle()
  • Method Details

    • left

      public void left(double angle, double distance)
    • right

      public void right(double angle, double distance)
    • up

      public void up(double angle, double distance)
    • down

      public void down(double angle, double distance)
    • rear

      public void rear(double angle, double distance)
    • forwards

      public void forwards(double angle, double distance)
    • rotate

      public void rotate(double angleHorizLR, double angleVertDU, double angleForwardsSquiv)
    • getPosition

      public Point3D getPosition()
    • getDirection

      public Point3D getDirection()
    • clearPointsBefore

      public void clearPointsBefore()
    • declareProperties

      public void declareProperties()
      Specified by:
      declareProperties in interface MatrixPropertiesObject
      Overrides:
      declareProperties in class ParametricCurve
    • computeAll

      public void computeAll()