MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / calc_hash

Function calc_hash

src/ifcgeom/taxonomy.h:327–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

325 virtual kinds kind() const { return MATRIX4; }
326
327 virtual size_t calc_hash() const {
328 auto v = std::make_tuple(static_cast<size_t>(MATRIX4), hash_components());
329 return boost::hash<decltype(v)>{}(v);
330 }
331
332 void pre_multiply_scale(double s) {
333 components().block<3, 4>(0, 0) *= s;

Callers 2

hashFunction · 0.85
taxonomy.hFile · 0.85

Calls 3

hash_componentsFunction · 0.85
hash_elementsFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected