www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Konstantin Morshnev <m...@design.ru>
Subject mod_imap/1771: invalid processing of poly borders
Date Wed, 04 Feb 1998 17:50:57 GMT

>Number:         1771
>Category:       mod_imap
>Synopsis:       invalid processing of poly borders
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    apache
>State:          open
>Class:          sw-bug
>Submitter-Id:   apache
>Arrival-Date:   Wed Feb  4 11:10:00 PST 1998
>Originator:     moko@design.ru
>Release:        any (1.2.5 is example)
When point belongs to polygon border, apache answer is unpredictable
- sometimes it answers "inside", sometime "outside". It is contrary to
Rect and Circle, where borders sertanly belong to the figure.

Conside the following imagemaps:

base referer
poly poly.html 1,1 1,10 10,10 10,1

base referer
rect rect.html 1,1 10,10

They describe the same figure, but the result is different:

poly.map?1,1 - _outside_

Contrary to:

rect.map?1,1 - _inside_

the funny thing is:

poly.map?10,10 - inside,
poly.map?1,5 - outside
poly.map?10,5 - inside, and so on.

Sometimes it's not critical, but sometimes it is.

So pointinpoly functions should be fixed.
Yes, I have already changed it for local use.
I can send a patch. It should work, but it should pass a lot of testing,
which I unable to perform myself
[In order for any reply to be added to the PR database, ]
[you need to include <apbugs@Apache.Org> in the Cc line ]
[and leave the subject line UNCHANGED.  This is not done]
[automatically because of the potential for mail loops. ]

View raw message