Skip navigation.
 
mlRe: NSBezierPath: angle of a line
FROM : Henry McGilton
DATE : Wed Apr 13 01:46:06 2005

On Apr 12, 2005, at 4:08 PM, Ian was here wrote:

> I have a straight line created using an NSBezierPath.
> This line has a point of origin that remains fixed,
> and a current point that can be moved around it's
> origin, changing the shape and size of the line.
>
> The issue I'm having is finding the angle of the line
> as it's current point is moving around it's origin.
> Does anyone know how to get the angle of a line?



In a terminal window, try typing:

    man  atan2


    Cheers,
       ........  Henry


===============================+============================
  Henry McGilton, Boulevardier |    Trilithon Software
    Objective-C/Java Composer  |    Seroia Research
-------------------------------+----------------------------
  mailto:<email_removed>  |  http://www.trilithon.com
                                |
===============================+============================

Related mailsAuthorDate
mlNSBezierPath: angle of a line Ian was here Apr 13, 01:08
mlRe: NSBezierPath: angle of a line Henry McGilton Apr 13, 01:46
mlRe: NSBezierPath: angle of a line Scott Thompson Apr 13, 16:39
mlRe: NSBezierPath: angle of a line Ian was here Apr 13, 21:36