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

Method initializeDomain

filters/RadiusAssignFilter.cpp:51–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50
51void RadiusAssignFilter::initializeDomain(StringList domainSpec, std::vector<DimRange> &domain)
52{
53 for (auto const& r : domainSpec)
54 {
55 try
56 {
57 DimRange range;
58 range.parse(r);
59 domain.push_back(range);
60 }
61 catch (const DimRange::error& err)
62 {
63 throwError("Invalid 'domain' option: '" + r + "': " + err.what());
64 }
65 }
66}
67
68void RadiusAssignFilter::initialize()
69{

Callers 1

initializeMethod · 0.95

Calls 2

parseMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected