MCPcopy Create free account
hub / github.com/ShahjalalShohag/code-library / init

Method init

Geometry/Geometry 2D.cpp:478–482  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476 arc = pol = 0;
477 }
478 void init() {
479 n = 0;
480 seg.clear(), cover.clear();
481 arc = pol = 0;
482 }
483 void add(double xx, double yy, double rr) {
484 x[n] = xx, y[n] = yy, r[n] = rr, covered[n] = 0, n++;
485 }

Callers

nothing calls this directly

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected