The program is supposed to be a editor in 2D that generates VRML-worlds. It will for example be able to generate landscapes with fences, rivers and walk-paths.
The GUI part of the program will interpret the users' commands to build the data-structures of the program. These data-structures will be the objects which the user wants to be part of the landscape. When the user wants the landscape to be exported as a VRML file, the generator will convert the data-structures to a human-readable VRML-file.

This part of the design document will explain the role
of the generator.
The Data Structures
The have decided to use at least the following data-structures:
Path objects are objects that represent a piecewise linear
path when viewed from above. The user for example clicks with the
mouse where the circles are, from left to right. These circles are
when stored as (x,y) coordinates in a vector in appropriate data structure.


There is the possibility that the Extrusion-node in the
WRML-specification will be useful to generate this kind of a path.
It is hard to say whether it will help, at this stage in the design.
Inlined objects
Inlined objects come very handy in our program.
The reason is that we can for example easily scale, move, rotate objects.
It's also easy to add an anchor to object. Here is an example of
how we would include a another WRML file in our scene and move it (10,10,10)
relative to the origin.


