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

Method SetPosition

Filters/Sources/vtkPointHandleSource.cxx:19–28  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

17
18//------------------------------------------------------------------------------
19void vtkPointHandleSource::SetPosition(double xPos, double yPos, double zPos)
20{
21 if ((this->Position[0] != xPos) || (this->Position[1] != yPos) || (this->Position[2] != zPos))
22 {
23 this->Position[0] = xPos;
24 this->Position[1] = yPos;
25 this->Position[2] = zPos;
26 this->Modified();
27 }
28}
29
30//------------------------------------------------------------------------------
31double* vtkPointHandleSource::GetPosition()

Calls 1

ModifiedMethod · 0.45