| 1 |
== Revision history for Perl extension Math::Polygon |
| 2 |
|
| 3 |
All changes are made by Mark Overmeer <[email protected]> unless |
| 4 |
explicitly stated differently. |
| 5 |
|
| 6 |
20070425 Request by Christian Sauer: polygon intersection |
| 7 |
paper with nice algorithm: http://citeseer.ist.psu.edu/cache/papers/cs/25021/http:zSzzSzfractal.dam.fmph.uniba.skzSz~sccgzSzproceedingszSz1998zSzZalik.pdf/zalik98quick.pdf |
| 8 |
20121024 Request by Rick Rutgers: widening polygon contour |
| 9 |
|
| 10 |
version 2.00: Thu 4 Sep 10:18:08 CEST 2025 |
| 11 |
|
| 12 |
Changes: |
| 13 |
- Log::Report replaces die and Carp (causes bump of major version number) |
| 14 |
- requires Perl 5.16 (2012) |
| 15 |
- convert to OODoc 3.03 release process. |
| 16 |
|
| 17 |
Fixes: |
| 18 |
- polygon_same must also consider a mirrored result. |
| 19 |
rt.cpan.org#169305 [Graham Knop] |
| 20 |
|
| 21 |
Improvements: |
| 22 |
- reduce rounding errors in centroid by default |
| 23 |
rt.cpan.org#169306 [Graham Knop] |
| 24 |
- tip use of Math::BigFloat |
| 25 |
- restyle code and docs to match OODoc 2.03 |
| 26 |
- all ::Transform functions can have the options as HASH as well |
| 27 |
|
| 28 |
version 1.11: Fri 2 May 16:57:09 CEST 2025 |
| 29 |
|
| 30 |
Fixes: |
| 31 |
- fix metadata [Mohammad S Anwar] |
| 32 |
- polygon_same broken tolerance parameter [Graham Knop] |
| 33 |
|
| 34 |
Improvements: |
| 35 |
- link to github distributions in meta-data. |
| 36 |
- centroid of line will result in middle. For longer flat polys, it |
| 37 |
will produce a clean error i.s.o "divide by zero". [Alex Sudakov] |
| 38 |
- add .gitignore |
| 39 |
|
| 40 |
version 1.10: Wed 3 Jan 11:04:43 CET 2018 |
| 41 |
Another release, to test releasing to github. |
| 42 |
|
| 43 |
Changes: |
| 44 |
- require perl 5.10 |
| 45 |
|
| 46 |
Improvements: |
| 47 |
- documentation improvements |
| 48 |
|
| 49 |
version 1.09: Wed 3 Jan 10:56:42 CET 2018 |
| 50 |
Another release, to test releasing to github. |
| 51 |
|
| 52 |
Improvements: |
| 53 |
- format option to object string() and points() |
| 54 |
|
| 55 |
version 1.08: Tue 2 Jan 12:01:29 CET 2018 |
| 56 |
|
| 57 |
Improvements: |
| 58 |
- convert to GIT |
| 59 |
- move to GitHub |
| 60 |
- documentation improvements |
| 61 |
- indentation tabs should be blanks. |
| 62 |
|
| 63 |
version 1.07: Wed 27 Dec 11:14:00 CET 2017 |
| 64 |
|
| 65 |
Fixes: |
| 66 |
- float rounding issue in Perl >= 5.27 breaks tests [cpan_testers] |
| 67 |
|
| 68 |
Improvements: |
| 69 |
- new ::Calc::polygon_format() |
| 70 |
|
| 71 |
version 1.06: Sun 16 Jul 13:04:43 CEST 2017 |
| 72 |
|
| 73 |
Fixes: |
| 74 |
- missed a spelling fix. rt.cpan.org#118297 [Gregor Herrmann] |
| 75 |
- fix $obj->mirror rt.cpan.org#122487 [Michael Scott] |
| 76 |
|
| 77 |
Improvements: |
| 78 |
- remove dependency to Test::Pod |
| 79 |
|
| 80 |
version 1.05: Wed Dec 28 12:55:41 CET 2016 |
| 81 |
|
| 82 |
Fixes: |
| 83 |
- spelling fix. rt.cpan.org#118297 [Angel Abad] |
| 84 |
|
| 85 |
Improvements: |
| 86 |
- add distance to polygon calculation [Andreas Koenig] |
| 87 |
- use Perl from PATH when running in tests stand-alone. |
| 88 |
|
| 89 |
version 1.04: Fri 23 Sep 16:03:17 CEST 2016 |
| 90 |
|
| 91 |
Fixes: |
| 92 |
- contains on vertical edge |
| 93 |
rt.cpan.org#118030 [Marcus Robst] |
| 94 |
|
| 95 |
Improvements: |
| 96 |
- remove duplicate points in chainHull_2D |
| 97 |
reported by [Michael R. Davis] |
| 98 |
|
| 99 |
version 1.03: Tue Jan 21 14:33:07 CET 2014 |
| 100 |
|
| 101 |
Improvements: |
| 102 |
- add example to centroid, suggested by [Michael R. Davis] |
| 103 |
- change documentation style. |
| 104 |
|
| 105 |
version 1.02: Mon Sep 19 12:06:32 CEST 2011 |
| 106 |
|
| 107 |
Improvements: |
| 108 |
- Added centroid functions, implemented by [Fred Zellinger] |
| 109 |
|
| 110 |
version 1.01: Mon May 25 14:35:26 CEST 2009 |
| 111 |
|
| 112 |
Improvements: |
| 113 |
- Added Math::Polygon::Convex with chainHull_2D implementation by |
| 114 |
[Jari Turkia] with many improvements. Tests in t/50chainhull.t |
| 115 |
- do not run t/pod.t in devel environment. |
| 116 |
|
| 117 |
version 1.00: Fri Feb 1 15:32:20 CET 2008 |
| 118 |
|
| 119 |
- ::Calc::polygon_is_open() will die on empty polygon |
| 120 |
|
| 121 |
- correct ::Calc::polygon_contains_point() for point on vertical |
| 122 |
edge. Spotted by [Rino Ingenito] |
| 123 |
|
| 124 |
version 0.99: Fri Jun 8 16:31:33 CEST 2007 |
| 125 |
|
| 126 |
- fillClip1() did not handle empty result connectly, neither |
| 127 |
did ::Clip::polygon_fill_clip1(). Reported by [Christian Sauer] |
| 128 |
|
| 129 |
- added t/pod.t |
| 130 |
|
| 131 |
version 0.98: Tue Apr 3 09:38:57 CEST 2007 |
| 132 |
|
| 133 |
- missing export of polygon_is_closed [Christian Sauer] |
| 134 |
|
| 135 |
version 0.97: Thu Mar 29 08:48:14 CEST 2007 |
| 136 |
|
| 137 |
- fix prototype of polygon_rotate, to fix method rotate() |
| 138 |
[Christian Sauer] |
| 139 |
|
| 140 |
version 0.96: Fri Mar 9 14:19:41 CET 2007 |
| 141 |
|
| 142 |
- refer to webpage http://perl.overmeer.net/geo |
| 143 |
|
| 144 |
- email address [email protected] |
| 145 |
|
| 146 |
- removed stuff to create own manual-pages. |
| 147 |
|
| 148 |
- all error messages should start with lower-case |
| 149 |
|
| 150 |
version 0.95: Mon Feb 26 11:23:44 CET 2007 |
| 151 |
|
| 152 |
- polygon_contains_point() only work if poly is closed: croak |
| 153 |
otherwise. [Dennis Hartigan-O'Connor] |
| 154 |
|
| 155 |
- polygon_is_clockwise() will also croak when the poly is not |
| 156 |
closed. |
| 157 |
|
| 158 |
- new polygon_is_closed() and $poly->isClosed. |
| 159 |
|
| 160 |
- use oodist to generate manuals, not own scripts. |
| 161 |
|
| 162 |
- bumped version number to indicate that the module interface |
| 163 |
is stable: no major changes expected before 1.00 |
| 164 |
|
| 165 |
version 0.004: Fri Jul 21 10:17:44 CEST 2006 |
| 166 |
|
| 167 |
- simplify() could get in an endless loop. |
| 168 |
|
| 169 |
- doc updates to fit into Geo::Point doc-set. |
| 170 |
|
| 171 |
- ring detection failed in Calc::polygon_start_minxy(), reported |
| 172 |
by [mtworek] |
| 173 |
|
| 174 |
version 0.003: Fri Dec 3 13:20:37 CET 2004 |
| 175 |
|
| 176 |
- simplify will average close points. Before, points could get |
| 177 |
removed one after the other, until points over a long distance |
| 178 |
were stripped. That will not happen anymore. |
| 179 |
|
| 180 |
- polygon_start_minxy/Math::Polygon::startMinXY now returns the |
| 181 |
point most close to (xmin,ymin) of the bounding box first. Was |
| 182 |
the point with the smallest x. |
| 183 |
|
| 184 |
- new method Math::Polygon::contains(point) and function |
| 185 |
Math::Polygon::Calc::polygon_contains_point(point, @poly) |
| 186 |
with tests in t/14contains.t |
| 187 |
|
| 188 |
version 0.002: Fri Nov 12 16:05:18 CET 2004 |
| 189 |
|
| 190 |
- Created Math::Polygon::Transform, and added loads of test for it |
| 191 |
|
| 192 |
- Math::Polygon added interface to transform routines |
| 193 |
|
| 194 |
version 0.001: Wed Sep 1 17:45:51 CEST 2004 |
| 195 |
|
| 196 |
- Initial version |
| 197 |
|