Class HilbertCurveTurtle

    • Constructor Detail

      • HilbertCurveTurtle

        public HilbertCurveTurtle​(Model model,
                                  int n,
                                  double length)
        Parameters:
        model - a reference to the Model that this Turtle is builing
        n - number of levels for the Hibert curve
        length - side length
      • HilbertCurveTurtle

        public HilbertCurveTurtle​(Model model,
                                  int n,
                                  double length,
                                  double xPos,
                                  double yPos)
        Parameters:
        model - a reference to the Model that this Turtle is builing
        n - number of levels for the Hibert curve
        length - side length
        xPos - the intial x-coordinate for this Turtle
        yPos - the intial y-coordinate for this Turtle
      • HilbertCurveTurtle

        public HilbertCurveTurtle​(Model model,
                                  int n,
                                  double length,
                                  double xPos,
                                  double yPos,
                                  double z)
        Parameters:
        model - a reference to the Model that this Turtle is builing
        n - number of levels for the Hibert curve
        length - side length
        xPos - the intial x-coordinate for this Turtle
        yPos - the intial y-coordinate for this Turtle
        z - the z-plane for this Turtle