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

Method SetOrigin

Common/DataModel/vtkPlane.cxx:70–80  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

68
69//------------------------------------------------------------------------------
70void vtkPlane::SetOrigin(double x, double y, double z)
71{
72 if ((this->Origin[0] != x) || (this->Origin[1] != y) || (this->Origin[2] != z))
73 {
74 this->Origin[0] = x;
75 this->Origin[1] = y;
76 this->Origin[2] = z;
77 this->Modified();
78 this->InternalUpdates();
79 }
80}
81
82//------------------------------------------------------------------------------
83void vtkPlane::SetOrigin(const double origin[3])

Callers 1

DeepCopyMethod · 0.95

Calls 2

InternalUpdatesMethod · 0.95
ModifiedMethod · 0.45

Tested by

no test coverage detected