MCPcopy 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
62PointId 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
69PointId KD2Index::neighbor(PointId idx) const

Callers 5

TESTFunction · 0.80
dumpMethod · 0.80
dumpDetailMethod · 0.80
executeMethod · 0.80
filterMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by 1

TESTFunction · 0.64