20 Calculating Distances Between Points

20 Q3Param2D_Distance

You can use the Q3Param2D_Distance function to determine the distance between two two-dimensional parametric points.

float Q3Param2D_Distance (
const TQ3Param2D *p1, 
const TQ3Param2D *p2);
p1 A two-dimensional parametric point.
p2 A two-dimensional parametric point.

DESCRIPTION


The Q3Param2D_Distance function returns, as its function result, the absolute value of the distance between parametric points p1 and p2.

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