Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1996
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1996

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

Search the Archive

bounding a polygon

  • To: mathgroup at smc.vnet.net
  • Subject: [mg3134] bounding a polygon
  • From: Jonathan Lee <bobjon at gatewest.net>
  • Date: Tue, 6 Feb 1996 22:49:17 -0500
  • Organization: Gate West Communications, Winnipeg, Manitoba, Canada
  • Sender: owner-wri-mathgroup at wolfram.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


==== [MESSAGE SEPARATOR] ====


  • Prev by Date: [Q] Programming & "Not Floating Point Number" Error
  • Next by Date: Re: Not a valid limit in NIntegrate ???
  • Previous by thread: Re: [Q] Programming & "Not Floating Point Number" Error
  • Next by thread: bounding a polygon