MCPcopy Create free account
hub / github.com/PDAL/PDAL / findNormal

Method findNormal

filters/M3C2Filter.cpp:255–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253}
254
255Eigen::Vector3d M3C2Filter::findNormal(Eigen::Vector3d pos, const PointGrid& grid)
256{
257 PointIdList neighbors = grid.findNeighbors3d(pos, m_args->normalRadius);
258 math::NormalResult res = math::findNormal(grid.view(), neighbors);
259 return res.normal;
260}
261
262
263bool M3C2Filter::calcStats(const std::vector<double>& pts1, const std::vector<double>& pts2,

Callers

nothing calls this directly

Calls 3

findNormalFunction · 0.85
findNeighbors3dMethod · 0.80
viewMethod · 0.80

Tested by

no test coverage detected