20 Converting Points from Cartesian to Polar or Spherical Form

20 Q3Point2D_ToPolar

You can use the Q3Point2D_ToPolar function to convert a two-dimensional point from Cartesian form to polar form.

TQ3PolarPoint *Q3Point2D_ToPolar (
const TQ3Point2D *point2D, 
TQ3PolarPoint *result);
point2D A two-dimensional point.
result On exit, a polar point.

DESCRIPTION


The Q3Point2D_ToPolar function returns, as its function result and in the result parameter, a polar point that is the same point as the two-dimensional point specified by the point2D parameter.

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