Lindenmayer System
A Simple L-system Image Generator Featuring Turtle Graphics
Public Member Functions | Public Attributes | List of all members
TurtleDesc Class Reference

Turtle graphics descriptor. More...

#include <Types.h>

Public Member Functions

 TurtleDesc (float angledelta, float len)
 Default constructor. More...
 

Public Attributes

float m_fAngleDelta = 0
 Line angle delta in radians.
 
float m_fLength = 8
 Line length.
 
float m_fLenMultiplier = 1
 Line length multiplier.
 
float m_fPointSize = 1
 Line point size.
 

Detailed Description

A descriptor for turtle graphics that describes the start state of the turtle. Note that the angle delta is stored in radians (required by gdi+), but the constructor uses degrees (which is what is supplied by ABOP).

Definition at line 41 of file Types.h.

Constructor & Destructor Documentation

◆ TurtleDesc()

TurtleDesc::TurtleDesc ( float  angledelta,
float  len 
)
inline

Constructor.

Parameters
angledeltaAngle delta in degrees.
lenLine length.

Definition at line 55 of file Types.h.