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

Method setLimits

pdal/private/Raster.cpp:42–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40// This should probably call expand().
41template <typename T>
42void Raster<T>::setLimits(const RasterLimits& limits)
43{
44 m_limits = limits;
45 DataVec dataVec(width() * height(), m_initializer);
46 m_data.swap(dataVec);
47}
48
49
50template <typename T>

Callers

nothing calls this directly

Calls 3

widthFunction · 0.85
swapMethod · 0.80
heightFunction · 0.50

Tested by

no test coverage detected