MathGroup Archive 2001

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Point order

>Hello all,
>If I draw a polygone of n sides, how do I know if the points are drawn
>in clockwise order or not?


the function CCWOrientedQ[{v1,v2,...}] in
takes a simple polygon with vertices {v1,v2,...} and returns True
iff the list {v1,v2,...} is counterclockwise oriented.

Adriano Pascoletti

  • Prev by Date: problems with lists
  • Next by Date: Contour List Plot on Surface of Sphere?
  • Previous by thread: Re: Point order
  • Next by thread: Re: Point order