[Overview][Types][Procedures and functions][Index] |
Determine the Quadrant of any point, given the Center.
Source position: graphmath.pp line 100
function Quadrant( |
const PT: TPoint; |
const Center: TPoint |
):Integer; |
Use Quadrant to determine the Quadrant of any point, given the Center. It is primarily for use in other routines such as EccentricAngle. A result of 1-4 represents the primary 4 quadrants. A result of 5-8 means the point lies on one of the Axis, 5 = -Y Axis, 6 = +X Axis, 7 = +Y Axis, and 8 = -X Axis. A result of -1 means that it does not fall in any quadrant, that is, it is the Center.
Version 4.0 | Generated 2025-05-03 | Home |