🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.pascal.misc
Article #105

Re: Re: ¿IRREGULAR AREA?

#105
From: Horst Kraemer
Date: Thu, 22 Oct 1998 00:00
37 lines
1945 bytes
On 22 Oct 1998 11:30:46 GMT, einhardschule@t-online.de (Rudolf Polzer)
wrote:

> Rich Pasco <pasco@best.com> schrieb im Beitrag <362C91A2.7F40@best.com>...
> > If you define the area as a polygon, then the point is "in" the area
> > if it is on the correct side of each of the sides of the polygon, e.g.
 
> Then the polygon has to be convex.
 
> Example: a concav (or concave?) polygon
 
> +++++    +++++
> +   +    +   +
> +   +    + p +
> +   xxxxxx   +
> +            +
> ++++++++++++++
 
> Now we check if the point p is on the correct side of xxxxxx.
> It isn't, is it?
 
> The point is that your rule doesn't work in a concav polygon, but only in
> convex ones.
 
Just a remark: There is no concave polygon. A polygon is either convex
or not convex.  Concave is not the contrary of convex.

The function x^2 is (srictly) convex. The function -x^2 is concave.
The function sin(x) is neither convex nor concave.

(Yes, we may say that there are concave polygons if we define the
"outside" of a convex polygon to be a polygon, too... but that's not
what you meant)


Regards
Horst
Technical Details
Message-ID: <362f372a.66801591@news.snafu.de>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <70g4og$cp2$1@news.hamburg.pop.de> <362C91A2.7F40@best.com> <70n516$31l$1@news01.btx.dtag.de>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 108ebd,b2af222be2a1216e
X-Google-Attributes: gid108ebd,public
X-Google-Thread: 10261c,b2af222be2a1216e
X-Google-Attributes: gid10261c,public
X-Google-Thread: 111659,b2af222be2a1216e
X-Google-Attributes: gid111659,public
X-Google-Thread: 10c950,b2af222be2a1216e
X-Google-Attributes: gid10c950,public
From: horst.kraemer@snafu.de (Horst Kraemer)
Subject: Re: Re: ¿IRREGULAR AREA?
Date: 1998/10/22
Message-ID: <362f372a.66801591@news.snafu.de>
X-Deja-AN: 403917428
References: <70g4og$cp2$1@news.hamburg.pop.de> <362C91A2.7F40@best.com> <70n516$31l$1@news01.btx.dtag.de>
Organization: [Posted via] Interactive Networx
Newsgroups: comp.lang.pascal.misc,borland.public.turbopascal,comp.lang.pascal.ansi-iso,comp.lang.pascal.borland