Article View: sci.math.num-analysis
Article #650Re: Polygon in or out?
From: Erick Bryce Wong
Date: Sat, 26 Sep 1992 23:56
Date: Sat, 26 Sep 1992 23:56
17 lines
1208 bytes
1208 bytes
pa@verano.sba.ca.us (Pierre Asselin) writes: >In <Jmv-D2=@engin.umich.edu> takriti@engin.umich.edu (samer Takriti) writes: > >>Linear programming does that very simply. >[Linear program deleted] > >Only for convex polygons. Your LP determins whether the point is >interior to the convex hull of the polygon, not the polygon itself. Right, and if you do have the convex polygon with vertices in sorted order, you can use binary search (assuming constant access time, i.e. not a linked list) to determine point inclusion in O(log N) time...That has to beat solving for the convex combination of the vertices with a simple application of linear programming... -- -- Erick, the perfect square :-)
Technical Details
Message-ID:
<1992Sep26.235609.23888@sfu.ca>Path:
arc1-ca.pugleaf.net!sparky!uunet!decwrl!spool.mu.edu!wupost!gumby!destroyer!ubc-cs!newsserver.sfu.ca!erickReferences:
<1992Sep9.141511.23893@dutrun2.tudelft.nl> <Jmv-D2=@engin.umich.edu> <1131@verano.sba.ca.us>Show Full Headers
Complete Article Headers
Newsgroups: sci.math.num-analysis Path: arc1-ca.pugleaf.net!sparky!uunet!decwrl!spool.mu.edu!wupost!gumby!destroyer!ubc-cs!newsserver.sfu.ca!erick From: erick@fraser.sfu.ca (Erick Bryce Wong) Subject: Re: Polygon in or out? Message-ID: <1992Sep26.235609.23888@sfu.ca> Sender: news@sfu.ca Organization: Simon Fraser University, Burnaby, B.C., Canada References: <1992Sep9.141511.23893@dutrun2.tudelft.nl> <Jmv-D2=@engin.umich.edu> <1131@verano.sba.ca.us> Date: Sat, 26 Sep 1992 23:56:09 GMT Lines: 17