20 Calculating Distances Between Points
Q3RationalPoint4D_Distance
function to determine the distance between two four-dimensional rational points.
float Q3RationalPoint4D_Distance ( const TQ3RationalPoint4D *p1, const TQ3RationalPoint4D *p2);p1
A rational four-dimensional point.p2
A rational four-dimensional point.
Q3RationalPoint4D_Distance
function returns, as its function result, the absolute value of the distance between points p1
and p2
. The distance returned is a three-dimensional distance.
Let us know what you think of these prototype pages.
Generated with Harlequin WebMaker