SilverScreen Solid Modeler

xyz_zero

xyz_zero

Previous topic Next topic  

xyz_zero

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int xyz_zero ( SS_XYZ *xyz )

 

SS_XYZ *xyz;      // address of a 3D point to test

 

 

 




Synopsis

#include "silver.h"

 

The xyz_zero function tests whether each of the x , y and z components of xyz is within epsilon (the system equality threshhold) of zero.

 

 

Parameters

xyz is the address of a 3D point.

 

 

Return Value

xyz_zero returns 1 if each component of xyz is with epsilon of zero, and 0 if not.

 

 

See Also

xyz_round , zero_double