|  | ||
| 
 | 
 int intersect_3_plane ( SS_COEF *plane1, SS_COEF *plane2, SS_COEF *plane3, SS_XYZ *xyz ) 
 SS_COEF *plane1; // address of 1st plane structure SS_COEF *plane2; // address of 2nd plane structure SS_COEF *plane3; // address of 3rd plane structure SS_XYZ *xyz; // address of intersection point 
 | 
 | 
| Synopsis | #include "silver.h" 
 The intersect_3_plane function computes the intersection point of the three planes plane1 , plane2 and plane3 and returns it in xyz . 
 | 
 | 
| Parameters | plane1 , plane2 and plane3 are all addresses of planes, represented by SS_COEF structures (as defined in silver.h). xyz is the address of the the 3D point that is to receive the intersection result. 
 | 
 | 
| Return Value | If the intersection is not a point (i.e. two or more planes are parallel or coincident), or if one or more planes are degenerate, then intersect_3_plane returns 0, and xyz is not modified; otherwise intersect_3_plane returns 1. 
 | 
 | 
| See Also | 
 |