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

Method init

Geometry/Geometry 3D.cpp:379–384  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

377 vector<vector<int>> g;
378
379 void init(vector<p3> p) {
380 P = p;
381 n = p.size();
382 F.resize(8 * n + 1);
383 g.resize(n + 1, vector<int> (n + 1));
384 }
385
386 double len(p3 a) {
387 return sqrt(a | a);

Callers

nothing calls this directly

Calls 2

resizeMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected