SilverScreen Solid Modeler

xyz_distance

xyz_distance

Previous topic Next topic  

xyz_distance

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

double xyz_distance ( SS_XYZ *p1, SS_XYZ *p2 )

 

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

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

 

 




Synopsis

#include "silver.h"

 

The xyz_distance function computes the distance between two points p1 and p2 .

 

 

Parameters

p1 and p2 are both addresses of 3D points.

 

 

Return Value

xyz_distance returns the computed distance.

 

 

See Also

rel_distance