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

Method GetPosition

Testing/GenericBridge/vtkBridgePointIteratorOnDataSet.cxx:75–83  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Description: Point at iterator position. \pre not_off: !IsAtEnd() \post result_exists: result!=0

Source from the content-addressed store, hash-verified

73// \pre not_off: !IsAtEnd()
74// \post result_exists: result!=0
75double* vtkBridgePointIteratorOnDataSet::GetPosition()
76{
77 assert("pre: not_off" && !IsAtEnd());
78
79 double* result = this->DataSet->Implementation->GetPoint(this->Id);
80
81 assert("post: result_exists" && result != nullptr);
82 return result;
83}
84
85//------------------------------------------------------------------------------
86// Description:

Callers

nothing calls this directly

Calls 3

assertFunction · 0.50
IsAtEndFunction · 0.50
GetPointMethod · 0.45

Tested by

no test coverage detected