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

Method GetPoint

Common/DataModel/vtkCartesianGrid.cxx:111–115  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

109
110//------------------------------------------------------------------------------
111void vtkCartesianGrid::GetPoint(vtkIdType ptId, double x[3])
112{
113 vtkPoints* points = this->GetPoints();
114 static_cast<vtkStructuredPointArray<double>*>(points->GetData())->GetTypedTuple(ptId, x);
115}
116
117//------------------------------------------------------------------------------
118int vtkCartesianGrid::GetCellType(vtkIdType cellId)

Callers

nothing calls this directly

Calls 3

GetPointsMethod · 0.95
GetTypedTupleMethod · 0.45
GetDataMethod · 0.45

Tested by

no test coverage detected