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

Function Add

Common/Core/vtkMath.h:347–353  ·  view source on GitHub ↗

* Addition of two 3-vectors (float version). Result is stored in c according to c = a + b. */

Source from the content-addressed store, hash-verified

345 * Addition of two 3-vectors (float version). Result is stored in c according to c = a + b.
346 */
347 static void Add(const float a[3], const float b[3], float c[3])
348 {
349 for (int i = 0; i < 3; ++i)
350 {
351 c[i] = a[i] + b[i];
352 }
353 }
354
355 /**
356 * Addition of two 3-vectors (double version). Result is stored in c according to c = a + b.

Callers 15

AddSubtractFunction · 0.50
TestSolve3PointCircleFunction · 0.50
TestMathFunction · 0.50
IntersectWithLineMethod · 0.50
GetCentroidMethod · 0.50
operator()Method · 0.50
operator()Method · 0.50
ReduceMethod · 0.50
IntersectionMethod · 0.50
ResetCameraMethod · 0.50
UpdateSourcesMethod · 0.50

Calls

no outgoing calls

Tested by 3

AddSubtractFunction · 0.40
TestSolve3PointCircleFunction · 0.40
TestMathFunction · 0.40