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

Method InsideCellBounds

Common/DataModel/vtkClosestPointStrategy.cxx:368–374  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

366
367//------------------------------------------------------------------------------
368bool vtkClosestPointStrategy::InsideCellBounds(double x[3], vtkIdType cellId)
369{
370 double bounds[6];
371 this->PointSet->GetCellBounds(cellId, bounds);
372 return bounds[0] <= x[0] && x[0] <= bounds[1] && bounds[2] <= x[1] && x[1] <= bounds[3] &&
373 bounds[4] <= x[2] && x[2] <= bounds[5];
374}
375
376//------------------------------------------------------------------------------
377void vtkClosestPointStrategy::CopyParameters(vtkFindCellStrategy* from)

Callers

nothing calls this directly

Calls 1

GetCellBoundsMethod · 0.45

Tested by

no test coverage detected