20 Calculating Distances Between Points

20 Q3RationalPoint4D_DistanceSquared

You can use the Q3RationalPoint4D_DistanceSquared function to determine the square of the distance between two rational four-dimensional points.

float Q3RationalPoint4D_DistanceSquared (
const TQ3RationalPoint4D *p1, 
const TQ3RationalPoint4D *p2);
p1 A rational four-dimensional point.
p2 A rational four-dimensional point.

DESCRIPTION


The Q3RationalPoint4D_DistanceSquared function returns, as its function result, the square of the distance between points p1 and p2. The distance returned is a three-dimensional distance.

DESCRIPTION

3D Graphics Programming with QuickDraw 3D - 17 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker