| 162 | } |
| 163 | |
| 164 | inline float* vtkUnstructuredGridPreIntegration::GetTableEntry( |
| 165 | double scalar_front, double scalar_back, double length, int component) |
| 166 | { |
| 167 | int sfi = static_cast<int>(scalar_front * this->IntegrationTableScalarScale[component] + |
| 168 | this->IntegrationTableScalarShift[component] + 0.5); |
| 169 | int sbi = static_cast<int>(scalar_back * this->IntegrationTableScalarScale[component] + |
| 170 | this->IntegrationTableScalarShift[component] + 0.5); |
| 171 | int li = static_cast<int>(length * this->IntegrationTableLengthScale + 0.5); |
| 172 | return this->GetIndexedTableEntry(sfi, sbi, li, component); |
| 173 | } |
| 174 | |
| 175 | VTK_ABI_NAMESPACE_END |
| 176 | #endif // vtkUnstructuredGridPreIntegration_h |
no test coverage detected