SilverScreen Solid Modeler

xyz_sub

xyz_sub

Previous topic Next topic  

xyz_sub

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

void xyz_sub ( SS_XYZ *xyz1, SS_XYZ *xyz2, SS_XYZ *difference )

 

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

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

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

 

 




Synopsis

#include "silver.h"

 

The xyz_sub function subtracts the corresponding x , y and z components of xyz2 from those of xyz1 , and places the result in difference .

 

 

Parameters

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

 

 

Return Value

none; the result is returned in difference .

 

 

See Also

xyz_add