MCPcopy Create free account
hub / github.com/Fields2Cover/Fields2Cover / create_polygon

Function create_polygon

tests/cpp/utils/visualizer_test.cpp:30–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30F2CCell create_polygon(void) {
31 F2CCell poly;
32 F2CLinearRing line;
33 line.addPoint(-10, 0);
34 line.addPoint(-10, 20);
35 line.addPoint(10, 20);
36 line.addPoint(10, 0);
37 line.addPoint(-10, 0);
38 poly.addRing(line);
39 return poly;
40}
41
42TEST(fields2cover_utils_visualizer, save_Route_and_Path) {
43 F2CCells cells {

Callers 1

TESTFunction · 0.70

Calls 2

addPointMethod · 0.45
addRingMethod · 0.45

Tested by

no test coverage detected