Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!j19g2000vbp.googlegroups.com!not-for-mail
From: arun <aragorn168b@gmail.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Generation of object with random shape
Date: Mon, 31 Aug 2009 02:52:29 -0700 (PDT)
Organization: http://groups.google.com
Lines: 17
Message-ID: <0283abac-3de1-42c2-8246-2d0272dd9ab4@j19g2000vbp.googlegroups.com>
References: <h7g5nl$gd7$1@fred.mathworks.com>
NNTP-Posting-Host: 134.2.246.208
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1251712349 5599 127.0.0.1 (31 Aug 2009 09:52:29 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 31 Aug 2009 09:52:29 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: j19g2000vbp.googlegroups.com; posting-host=134.2.246.208; 
	posting-account=fyqXpgoAAABqt-0BifyaNxmZhzggFACu
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; 
	rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2,gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:567207


On Aug 31, 11:39 am, "Tato Jandieri" <vjandi...@yahoo.com> wrote:
> Dear Friends,
>
> Using the random operator, I am generating objects with different shapes.
> When I run the program, objects with different shapes are generated.
>
> My question is:
> How can a define, the arbitrary chosen point (X,Y) is inside the object, or not?
> Maybe some approximation is needed?
>
> Please, help me in this matter.
> Thank you very much.  

help inpolygon

best, arun.