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

Method initialize

filters/RadiusAssignFilter.cpp:68–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

66}
67
68void RadiusAssignFilter::initialize()
69{
70 this->initializeDomain(m_referenceDomainSpec, m_referenceDomain);
71 this->initializeDomain(m_srcDomainSpec, m_srcDomain);
72
73 if (m_radius <= 0)
74 throwError("Invalid 'radius' option: " + std::to_string(m_radius) +
75 ", must be > 0");
76 if (m_updateExpr.size() == 0)
77 throwError("Empty 'update_epxression' option, must be set to apply any change on the data");
78
79}
80
81void RadiusAssignFilter::preparedDomain(std::vector<DimRange> &domain, PointLayoutPtr layout)
82{

Callers

nothing calls this directly

Calls 2

initializeDomainMethod · 0.95
sizeMethod · 0.45

Tested by

no test coverage detected