using LeoTurtle;
namespace SimpleDrawings;
public static class TurtlePath
{
///
/// Executes the logic for adding turtle path steps.
/// Called automatically when the application starts.
///
/// The instance to use
public static void Walk(Turtle turtle)
{
EulerianPath(turtle);
Shapes(turtle);
}
///
/// Draws a 'Haus des Nikolaus' as an Eulerian path
///
/// The instance to use
private static void EulerianPath(Turtle turtle)
{
const double Distance = 6.0D;
const double ShortDistance = 4.24D;
const double LongDistance = 8.49D;
// TODO
}
///
/// Draws several shapes.
///
/// The instance to use
private static void Shapes(Turtle turtle)
{
// TODO
}
///
/// Draws an octagon.
///
/// The instance to use
/// Initial turtle x position when starting to draw
/// Initial turtle y position when starting to draw
private static void DrawOctagon(Turtle turtle, int startX, int startY)
{
// TODO
}
///
/// Draws a rhombus.
///
/// The instance to use
/// Initial turtle x position when starting to draw
/// Initial turtle y position when starting to draw
private static void DrawRhombus(Turtle turtle, int startX, int startY)
{
// TODO
}
///
/// Draws two triangles, one offset off the other.
///
/// The instance to use
/// Initial turtle x position when starting to draw
/// Initial turtle y position when starting to draw
private static void DrawTriangle(Turtle turtle, int startX, int startY)
{
// TODO
}
///
/// Draws a single triangle at the given position and with the given size.
/// Angels are fixed.
///
/// The instance to use
/// Initial turtle x position when starting to draw
/// Initial turtle y position when starting to draw
/// Length of the side c
/// Length of sides a & b
private static void DrawTriangle(Turtle turtle, double startX, double startY, double longSide, double shortSide)
{
// TODO
}
///
/// Converts an angel from degrees to radians.
///
/// Degrees to convert
/// Radians value
private static double ConvertToRadians(double angleDegrees)
{
return angleDegrees * Math.PI / 180;
}
}