El día 30 de mayo de 2011 22:49, Søren Hauberg <[email protected]> escribió: > man, 30 05 2011 kl. 09:33 +0200, skrev José Luis García Pallero: >> El día 24 de mayo de 2011 13:12, José Luis García Pallero >> <[email protected]> escribió: >> > Hello, >> > >> > I've written some code in order to implement the Greiner-Hormann >> > polygon clipping algorithm >> > (http://davis.wpi.edu/~matt/courses/clipping/). I've made an Octave >> > package and I would like to add to Octave Forge >> > >> > By the moment, tha package is in >> > https://sourceforge.net/apps/phpbb/octave/viewtopic.php?f=1&t=2 >> >> Hello, >> Is anybody here? > > Sorry about the slow reply, but we are in severe lack of man-power so > things happen quite slow :-( > > Thanks for making this contribution! Can you shed some light on how it > differs from the 'gpc' package? Also, I am a bit confused about the > license of your package; it seems that some files are covered by the GPL > v3 while others use some non-standard license. Could you describe this > choice a bit?
Mainly the difference from the gpc package is that OctCLIP is free software :-) OctCLIP implements the Greiner-Hormann algorithm (http://davis.wpi.edu/~matt/courses/clipping/) while the gpc package uses the Vatti algorithm (http://en.wikipedia.org/wiki/Vatti_clipping_algorithm). My implementation of Greiner-Hormann do not manages correctly degenerated cases (vertex in borders of the other polygon), so I perturb slightly the problematic vertex, as in http://davis.wpi.edu/~matt/courses/clipping/ is explained. About the license, the *.m and *.oct files are distributed under de GPL 3 or higher license but all the other files are under the three clauses BSD license -- ***************************************** José Luis García Pallero [email protected] (o< / / \ V_/_ Use Debian GNU/Linux and enjoy! ***************************************** ------------------------------------------------------------------------------ vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 _______________________________________________ Octave-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/octave-dev
