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