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

Method SetXMin

Common/DataModel/vtkBox.cxx:53–64  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

51
52//------------------------------------------------------------------------------
53void vtkBox::SetXMin(double x, double y, double z)
54{
55 vtkDebugMacro(<< this->GetClassName() << " (" << this << "): setting XMin to (" << x << "," << y
56 << "," << z << ")");
57 const double* p = this->BBox->GetMinPoint();
58 if ((p[0] == x) && (p[1] == y) && (p[2] == z))
59 {
60 return;
61 }
62 this->BBox->SetMinPoint(x, y, z);
63 this->Modified();
64}
65
66//------------------------------------------------------------------------------
67void vtkBox::SetXMax(double x, double y, double z)

Callers

nothing calls this directly

Calls 4

GetMinPointMethod · 0.80
SetMinPointMethod · 0.60
GetClassNameMethod · 0.45
ModifiedMethod · 0.45

Tested by

no test coverage detected