MCPcopy Create free account
hub / github.com/LAStools/LAStools / get_parent

Method get_parent

LASlib/src/lascopc.cpp:70–75  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70EPTkey EPTkey::get_parent() const
71{
72 if (!is_valid()) return EPTkey();
73 if (d == 0) return EPTkey();
74 return EPTkey(d - 1, x >> 1, y >> 1, z >> 1);
75}
76
77EPToctant::EPToctant()
78{

Callers 1

mainFunction · 0.80

Calls 1

is_validFunction · 0.85

Tested by

no test coverage detected