D | S2PolygonBuilderTest.java | 31 // A chain represents either a polyline or a loop, depending 33 private class Chain { class in S2PolygonBuilderTest 37 public Chain(String str, boolean closed) { in Chain() method in S2PolygonBuilderTest.Chain 55 Chain[] chainsIn; 67 Chain[] chainsIn, in TestCase() 82 new TestCase(0, 0, 0.0, 10.0, new Chain[] {new Chain(null, false)}, new String[] {}, 0), 89 new Chain[] {new Chain("0:0, 0:10, 10:5", true), new Chain("0:0, 5:5", false), 90 new Chain("10:5, 20:7, 30:10, 40:15, 50:3, 60:-20", false)}, 97 new Chain[] {new Chain("0:0, 0:10, 5:15, 10:10, 10:0", true), 98 new Chain("10:10, 12:12, 14:14, 16:16, 18:18", false), [all …]
|