SilverScreen Solid Modeler

xyz_add

xyz_add

Previous topic Next topic  

xyz_add

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

void xyz_add ( SS_XYZ *xyz1, SS_XYZ *xyz2, SS_XYZ *sum )

 

SS_XYZ *xyz1;     // address of a 3D point

SS_XYZ *xyz2;     // address of a 3D point

SS_XYZ *sum;      // address of a 3D point to receive result

 

 




Synopsis

#include "silver.h"

 

The xyz_add function adds the corresponding x , y and z components of xyz1 and xyz2 , and places the result in sum .

 

 

Parameters

xyz1 and xyz2 , and sum are all addresses of 3D points.

 

 

Return Value

None; the result is returned in sum .

 

 

See Also

xyz_sub