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

Method TransformVectorAtPoint

Common/Transforms/vtkAbstractTransform.cxx:111–121  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

109
110//------------------------------------------------------------------------------
111void vtkAbstractTransform::TransformVectorAtPoint(
112 const double point[3], const double in[3], double out[3])
113{
114 this->Update();
115
116 double matrix[3][3];
117 double coord[3];
118
119 this->InternalTransformDerivative(point, coord, matrix);
120 vtkMath::Multiply3x3(matrix, in, out);
121}
122
123void vtkAbstractTransform::TransformVectorAtPoint(
124 const float point[3], const float in[3], float out[3])

Callers 1

Calls 3

UpdateMethod · 0.95
Multiply3x3Function · 0.50

Tested by

no test coverage detected