Inside Macintosh: Operating System Utilities / Chapter 3 - Mathematical and Logical Utilities / Mathematical and Logical Utilities ReferenceRoutines
Converting Between Angle and Slope Values You can use the SlopeFromAngle and AngleFromSlope functions to convert between angle and slope values. Subtopics SlopeFromAngle AngleFromSlope
SlopeFromAngle
AngleFromSlope