I would like to take this oppurtunity of introducing myself as a student stuying
Mechanical Enginnering with study focus on Mechatronics. I am a upcoming
programmer actually working on a project at Fraunhofer IPT, Aachen/Germany.

I am facing a problem in understanding how the standard STL file format used for
Rapid Prototyping can be sliced to obtain the layer geometry using a C++
program. How does the triangle representation helps in determing the layer by
layer geometry? In case you know any books or other sources (internet, ...)
providing information about the mathmatic/programming-related way to slice
STL-files and get contour data please give me some hints.