Andrew,

such angles only make sense in 2D. You need a plane definition before
you can treat something as clockwise or counter-clockwise.

--
David Rutten
Robert McNeel & Associates

On Nov 27, 9:17 pm, Andrew <[EMAIL PROTECTED]> wrote:
> Hey all -
>
> I'm trying to calculate the angle between a vector A and the X vector.
> The current vector angle component gives either the angle from 0-Pi or
> the reflex angle (from Pi-2Pi), but either way, two angles that are
> mirror images of one another across the X-axis return the same result.
> I need them to return different values; either negative if below the X
> axis (Blue) or 2Pi-angle (Green) if below. I came up with a sort of
> messy work around that takes the Y component of angle A, and gives me
> a boolean value of true if negative, which I can then use to make the
> angle value negative.http://grasshopper3d.googlegroups.com/web/diagram.gif
>
> Any ideas on a better way to do this?
>
> Thanks,
>
> Andrew

Reply via email to