[metapost] d\'ej\`a vu or turningnumber, area et caetera

Werner LEMBERG wl at gnu.org
Thu Feb 3 22:02:55 CET 2005


> Therefore, agreeing with Larry, I'd propose, at the moment, the
> using of the macro Area (or its more efficient variant) for checking
> the orientation of a path.

What about my approach using the angles between PP+ and Q-Q to get the
orientation (*not* the turningnumber)?  This would be even simpler
since it doesn't need special code to avoid overflow.  Do you see any
problems?


    Werner



More information about the metapost mailing list