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

Method GetPosition

Testing/GenericBridge/vtkBridgePointIteratorOnCell.cxx:82–90  ·  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

80// \pre not_off: !IsAtEnd()
81// \post result_exists: result!=0
82double* vtkBridgePointIteratorOnCell::GetPosition()
83{
84 assert("pre: not_off" && !IsAtEnd());
85
86 double* result = this->DataSet->Implementation->GetPoint(this->PtIds->GetId(this->Cursor));
87
88 assert("post: result_exists" && result != nullptr);
89 return result;
90}
91
92//------------------------------------------------------------------------------
93// Description:

Callers

nothing calls this directly

Calls 4

assertFunction · 0.50
IsAtEndFunction · 0.50
GetPointMethod · 0.45
GetIdMethod · 0.45

Tested by

no test coverage detected