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

Method IsEmpty

Common/DataModel/vtkStaticCellLocator.cxx:365–368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363 vtkIdType FindClosestPointWithinRadius(const double x[3], double radius, double closestPoint[3],
364 vtkGenericCell* cell, vtkIdType& cellId, int& subId, double& dist2, int& inside) override;
365 int IsEmpty(vtkIdType binId) override
366 {
367 return (this->GetNumberOfIds(static_cast<T>(binId)) > 0 ? 0 : 1);
368 }
369
370 // This functor is used to perform the final cell binning
371 void Initialize() {}

Callers 1

Calls 1

GetNumberOfIdsMethod · 0.95

Tested by

no test coverage detected