Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PDAL/PDAL
/ neighbor
Method
neighbor
pdal/KDIndex.cpp:62–66 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
60
}
61
62
PointId KD2Index::neighbor(double x, double y) const
63
{
64
PointIdList ids = neighbors(x, y, 1);
65
return (ids.size() ? ids[0] : 0);
66
}
67
68
69
PointId KD2Index::neighbor(PointId idx) const
Callers
5
TEST
Function · 0.80
dump
Method · 0.80
dumpDetail
Method · 0.80
execute
Method · 0.80
filter
Method · 0.80
Calls
1
size
Method · 0.45
Tested by
1
TEST
Function · 0.64