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

Method GetSpacing

Filters/ParallelFlowPaths/Testing/Cxx/TestVectorFieldSource.cxx:104–111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

102}
103
104void TestVectorFieldSource::GetSpacing(double dx[3])
105{
106 for (int i = 0; i < 3; i++)
107 {
108 dx[i] = (this->BoundingBox[2 * i + 1] - this->BoundingBox[2 * i]) /
109 (this->Extent[2 * i + 1] - this->Extent[2 * i]);
110 }
111}
112
113void TestVectorFieldSource::GetSize(double dx[3])
114{

Callers 15

RequestInformationMethod · 0.95
RequestDataMethod · 0.45
AppendMethod · 0.45
RequestInformationMethod · 0.45
InternalUpdateMethod · 0.45
InternalUpdateMethod · 0.45
RequestDataMethod · 0.45
AddTestArrayMethod · 0.45
AddVectorArrayMethod · 0.45
AddFractalArrayMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected