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

Function addMetadata

plugins/cpd/filters/CpdFilter.cpp:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54}
55
56void addMetadata(CpdFilter* filter, const cpd::Result& result)
57{
58 MetadataNode root = filter->getMetadata();
59 root.add("sigma2", result.sigma2);
60 root.add("runtime", double(result.runtime.count()) / 1e6);
61 root.add("iterations", result.iterations);
62}
63}
64
65static PluginInfo const s_info

Callers 1

cpd_rigidMethod · 0.85

Calls 2

getMetadataMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected