Re: Line intersection point is wrong

Поиск
Список
Период
Сортировка
От Emre Hasegeli
Тема Re: Line intersection point is wrong
Дата
Msg-id CAE2gYzxrfOaje7D6vWJvs0FnmFE4MEEcfyb=O6EDzgzC64GzxA@mail.gmail.com
обсуждение исходный текст
Ответ на Re: Line intersection point is wrong  (Tom Lane <tgl@sss.pgh.pa.us>)
Ответы Re: Line intersection point is wrong  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-bugs
> Hmm, well, what if we change line_parallel() so that what it tests
> is whether (l1->A * l2->B - l2->A * l1->B) is zero?  That seems
> simpler and more symmetric than what it does now.

I was thinking to do so.  I would also check for both sides not to
overflow, but that can wait.  Patch attached.  Unfortunately,
the change causes too much noise on the regression tests.

Вложения

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: Line intersection point is wrong
Следующее
От: Tom Lane
Дата:
Сообщение: Re: Line intersection point is wrong