diff options
author | vng <viktor.govako@gmail.com> | 2011-04-24 18:12:49 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:16:17 +0300 |
commit | 439b048117c289707e9af5e3e3aa77c0b07b1b20 (patch) | |
tree | 2e5cbcc0aa19de27fed5cabb3fad46c6b1bbf1e5 /geometry | |
parent | 69c15b4fb0dd95737300362e31f8b48ea69e7144 (diff) |
Fix area features generation in case of self-intersection polygons.
Diffstat (limited to 'geometry')
-rw-r--r-- | geometry/geometry_tests/polygon_test.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/geometry/geometry_tests/polygon_test.cpp b/geometry/geometry_tests/polygon_test.cpp index 196b1efd8d..27ad80a351 100644 --- a/geometry/geometry_tests/polygon_test.cpp +++ b/geometry/geometry_tests/polygon_test.cpp @@ -159,6 +159,8 @@ UNIT_TEST(IsPolygonCCW_DataSet) TestPolygonOrReverseCCW(arr, arr + ARRAY_SIZE(arr)); } +// This polygon has self-intersections. +/* UNIT_TEST(IsPolygonCCW_DataSet2) { P arr[] = { P(0.747119766424532, 61.4800033732131), P(0.747098308752385, 61.4800496413187), @@ -171,3 +173,4 @@ UNIT_TEST(IsPolygonCCW_DataSet2) TestPolygonOrReverseCCW(arr, arr + ARRAY_SIZE(arr)); } +*/ |