Data: , elevation
Result: set of segments defining
empty list;
for do
 if intersects then
   triangles incident on
   , 
  append to
 end
end
Algorithm 4: Contour lines algorithm.