MCPcopy Create free account
hub / github.com/GilesBathgate/RapCAD / hashPoint

Method hashPoint

src/cache.cpp:45–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45Cache::i_Point Cache::hashPoint(const Point& p)
46{
47 i_Point ip;
48 ip.append(hashValue(p.x()));
49 ip.append(hashValue(p.y()));
50 ip.append(hashValue(p.z()));
51
52 return ip;
53}
54
55Cache::i_Polygon Cache::hashPolygon(Polygon* pg)
56{

Callers

nothing calls this directly

Calls 4

appendMethod · 0.80
xMethod · 0.80
yMethod · 0.80
zMethod · 0.80

Tested by

no test coverage detected