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

Class CenterOrder

Common/DataModel/vtkCellTreeLocator.cxx:319–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

317 };
318
319 struct CenterOrder
320 {
321 T D;
322 CenterOrder(const T& d)
323 : D(d)
324 {
325 }
326
327 bool operator()(const CellInfo& pc0, const CellInfo& pc1)
328 {
329 return (pc0.Min[this->D] + pc0.Max[this->D]) < (pc1.Min[this->D] + pc1.Max[this->D]);
330 }
331 };
332
333 struct LeftPredicate
334 {

Callers 1

SplitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected