20 Subtracting Points

20 Q3Point2D_Subtract

You can use the Q3Point2D_Subtract function to subtract one two-dimensional point from another.

TQ3Vector2D *Q3Point2D_Subtract (
const TQ3Point2D *p1, 
const TQ3Point2D *p2, 
TQ3Vector2D *result);
p1 A two-dimensional point.
p2 A two-dimensional point.
result On exit, a two-dimensional vector that is the result of subtracting the point p2 from p1.

DESCRIPTION


The Q3Point2D_Subtract function returns, as its function result and in the result parameter, the two-dimensional vector that is the result of subtracting the point p2 from p1.

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