MathGroup Archive 2001

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

Search the Archive

re: inside of polygon

  • To: mathgroup at
  • Subject: [mg28568] re: inside of polygon
  • From: wouter.meeussen at (Wouter Meeussen)
  • Date: Sat, 28 Apr 2001 21:35:56 -0400 (EDT)
  • Organization: The Math Forum
  • References: <9c7n25$>
  • Sender: owner-wri-mathgroup at

this is a FAQ.

define the rectangle that contains the contour.
For each point in that rectangle, calculate the winding number
(cumulative director angle from that point to all points around the
contour). If zero, then point is outside. If (2 Pi) then point is
inside. Works also for non-convex contours.


  • Prev by Date: ToString on object
  • Next by Date: problems with Technical Trader
  • Previous by thread: ToString on object
  • Next by thread: problems with Technical Trader