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

Method ComputeInternalOrigin

Common/DataModel/vtkPlane.cxx:48–60  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

46
47//------------------------------------------------------------------------------
48void vtkPlane::ComputeInternalOrigin()
49{
50 this->InternalOrigin[0] = this->Origin[0];
51 this->InternalOrigin[1] = this->Origin[1];
52 this->InternalOrigin[2] = this->Origin[2];
53 if (this->Offset != 0.0)
54 {
55 for (int i = 0; i < 3; i++)
56 {
57 this->InternalOrigin[i] += this->Offset * this->InternalNormal[i];
58 }
59 }
60}
61
62//------------------------------------------------------------------------------
63void vtkPlane::InternalUpdates()

Callers 2

InternalUpdatesMethod · 0.95
PushMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected