SilverScreen Solid Modeler

xyz_equal

xyz_equal

Previous topic Next topic  

xyz_equal

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int xyz_equal ( SS_XYZ *xyz1, SS_XYZ *xyz2 )

 

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

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

 

 




Synopsis

#include "silver.h"

 

The xyz_equal function compares the points at xyz1 and xyz2 for equality.

 

 

Parameters

xyz1 and xyz2 are both addresses of 3D points.

 

 

Return Value

xyz_equal returns 1 if each of the x , y and z components of xyz1 is within epsilon (the system equality threshhold) of its corresponding component of xyz2 ; 0 is returned otherwise.