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

Method FindMidpoint

IO/NetCDF/vtkSLACReader.cxx:362–374  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

360}
361
362vtkSLACReader::MidpointCoordinates* vtkSLACReader::MidpointCoordinateMap::FindMidpoint(
363 const EdgeEndpoints& edge)
364{
365 vtkInternal::MapType::iterator iter = this->Internal->Map.find(edge);
366 if (iter != this->Internal->Map.end())
367 {
368 return &iter->second;
369 }
370 else
371 {
372 return nullptr;
373 }
374}
375
376//------------------------------------------------------------------------------
377class vtkSLACReader::MidpointIdMap::vtkInternal

Callers 1

ReadMidpointDataMethod · 0.80

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected