MCPcopy Create free account
hub / github.com/PyMesh/PyMesh / operator()

Method operator()

tools/Envelope/Grid.h:48–52  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46 }
47
48 virtual reference operator()(const Vector_i& index) {
49 assert(is_valid_index(index));
50 size_t linear_index = linearize_index(index);
51 return m_grid[linear_index];
52 }
53
54 virtual const_reference operator()(const Vector_i& index) const {
55 assert(is_valid_index(index));

Callers 1

lookupMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected