20 Converting Points from Cartesian to Polar or Spherical Form

20 Q3Point3D_ToSpherical

You can use the Q3Point3D_ToSpherical function to convert a three-dimensional point from Cartesian form to spherical form.

TQ3SphericalPoint *Q3Point3D_ToSpherical (
const TQ3Point3D *point3D, 
TQ3SphericalPoint *result);
point3D A three-dimensional point.
result On exit, a spherical point.

DESCRIPTION


The Q3Point3D_ToSpherical function returns, as its function result and in the result parameter, a spherical point that is the same point as the three-dimensional point specified by the point3D 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