|
||
double dot_product ( SS_XYZ *xyz1, SS_XYZ *xyz2 )
SS_XYZ *xyz1; // a pointer to a 3D point SS_XYZ *xyz2; // a pointer to a 3D point
|
|
|||
Synopsis |
#include "silver.h"
The dot_product function computes the dot product of the two points at xyz1 and xyz2 . The dot product is computed by the following calculation:
|
|
||
Parameters |
xyz1 and xyz2 are pointers to a SS_XYZ structures.
|
|
||
Return Value |
The result of the specified computation is returned.
|
|
||
See Also |
|