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

Class LeftPredicate

Common/DataModel/vtkCellTreeLocator.cxx:333–344  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

331 };
332
333 struct LeftPredicate
334 {
335 T D;
336 double P;
337 LeftPredicate(const T& d, const double& p)
338 : D(d)
339 , P(2.0 * p)
340 {
341 }
342
343 bool operator()(const CellInfo& pc) { return pc.Min[this->D] + pc.Max[this->D] < this->P; }
344 };
345
346 struct SplitInfo
347 {

Callers 1

SplitMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected