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

Method InsideCellBounds

Common/DataModel/vtkAbstractCellLocator.cxx:264–276  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

262
263//------------------------------------------------------------------------------
264bool vtkAbstractCellLocator::InsideCellBounds(double x[3], vtkIdType cell_ID)
265{
266 if (this->CacheCellBounds)
267 {
268 return vtkAbstractCellLocator::IsInBounds(&this->CellBounds[cell_ID * 6], x);
269 }
270 else
271 {
272 double cellBounds[6];
273 this->DataSet->GetCellBounds(cell_ID, cellBounds);
274 return vtkAbstractCellLocator::IsInBounds(cellBounds, x);
275 }
276}
277
278//------------------------------------------------------------------------------
279void vtkAbstractCellLocator::GetCellBounds(vtkIdType cellId, double*& cellBoundsPtr)

Callers

nothing calls this directly

Calls 2

IsInBoundsFunction · 0.85
GetCellBoundsMethod · 0.45

Tested by

no test coverage detected