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

Method Convert

Common/Core/vtkDataArrayValueRange_Generic.h:172–175  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170
171 VTK_ITER_INLINE
172 ValueIdType Convert(TupleIdType tuple, ComponentIdType comp) const noexcept
173 {
174 return static_cast<ValueIdType>(tuple) * this->NumComps.value + comp;
175 }
176
177 VTK_ITER_INLINE
178 std::pair<TupleIdType, ComponentIdType> Convert(ValueIdType value) const noexcept

Callers 1

AddOffsetMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected