Copyright | (C) 1997, 1998, 2008 Joern Dinkla, www.dinkla.net |
---|---|
Safe Haskell | None |
Language | Haskell2010 |
Updates by Schell Scivally
Triangulation of simple polygons after Kong, Everett, Toussaint 91 with some changes by T.Vogt: return indices instead of coordinates of triangles and Data.Vector instead of lists
see Joern Dinkla, Geometrische Algorithmen in Haskell, Diploma Thesis, University of Bonn, Germany, 1998.
Documentation
triangulate :: RealFrac a => [V2 a] -> [(V2 a, V2 a, V2 a)] Source