MathGroup Archive 1996

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

Search the Archive

bounding a polygon

  • Subject: [mg3134] bounding a polygon
  • From: bobjon at gatewest.net (Jonathan Lee)
  • Date: 7 Feb 1996 09:37:52 -0600
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Gate West Communications, Winnipeg, Manitoba, Canada
  • Sender: daemon at wri.com

I am looking for a function which takes two lists, one representing a polygon and 
one representing a rectangular region of space, which returns a new polygon that is 
the old polygon "cut" by the second region. To be clearer: Suppose I had a polygon 
called P. If I use Show[Graphics[Polygon[P]]] then I get the entire polygon. If I 
use Show[Graphics[Polygon[P]], PlotRange->SomeArea] I get a polygon that is P but 
cut off by SomeArea. Does anyone know a way to get just that area of P in the region 
SomeArea so that if I type Show[Graphics[Polygon[F[P]]]] I get the same thing?

Any help is appreciated. Thanks.

--Jonathan Lee



  • Prev by Date: Re: Not a valid limit in NIntegrate ???
  • Next by Date: Re: Not a valid limit in NIntegrate ???
  • Previous by thread: bounding a polygon
  • Next by thread: Mathematica 3D graphics to VRML converter