Skip to content

Commit b42c1c0

Browse files
committed
Add orientation test for ring with collapsed elements
References GH-1425
1 parent 255aa2f commit b42c1c0

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

tests/unit/algorithm/CGAlgorithms/OrientationIsCCWTest.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,15 @@ void object::test<16>
248248
}
249249

250250

251+
// See https://trac.osgeo.org/postgis/ticket/6065
252+
template<>
253+
template<>
254+
void object::test<17>
255+
()
256+
{
257+
const std::string wkt("POLYGON((17.422075702665087 69.11091383235977,17.42207545158684 69.11091383590066,17.42207570266477 69.11091383235974,17.422075702665087 69.11091383235977))");
258+
checkCCW(false, wkt);
259+
}
251260

252261

253262
} // namespace tut

0 commit comments

Comments
 (0)