MCPcopy Create free account
hub / github.com/Kitware/VTK / Bucket

Class Bucket

Common/DataModel/vtkCellTreeLocator.cxx:291–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

289{
290private:
291 struct Bucket
292 {
293 double Min;
294 double Max;
295 T Cnt;
296
297 Bucket()
298 : Min(VTK_DOUBLE_MAX)
299 , Max(-VTK_DOUBLE_MAX)
300 , Cnt(0)
301 {
302 }
303
304 void Add(const double& min, const double& max)
305 {
306 ++this->Cnt;
307 this->Min = std::min(min, this->Min);
308 this->Max = std::max(max, this->Max);
309 }
310 };
311
312 struct CellInfo
313 {

Callers 1

ResetMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected