MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / match

Function match

tests/tools/Wires/Inflator/MeshValidation.cpp:40–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38 }
39
40 bool match(HashGrid::Ptr grid, const Vector3F& v) {
41 VectorI candidates = grid->get_items_near_point(v);
42 if (candidates.size() != 1) {
43 std::cout << "<" << v.transpose() << "> : " << candidates.transpose()
44 << std::endl;
45 }
46 return candidates.size() > 0;
47 }
48}
49
50using namespace MeshValidationHelper;

Callers 1

is_periodicMethod · 0.85

Calls 2

get_items_near_pointMethod · 0.80
sizeMethod · 0.45

Tested by

no test coverage detected