Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
70
EPTkey 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
77
EPToctant::EPToctant()
78
{
Callers
1
main
Function · 0.80
Calls
1
is_valid
Function · 0.85
Tested by
no test coverage detected