polyparam.c: find_m_faces: collect rays of unbounded parametric polyhedra
commit6984aa7e3852bd01fd7ffc038f086cd3ce495b16
authorVincent Loechner <loechner@icps.u-strasbg.fr>
Tue, 8 Jul 2008 14:21:57 +0000 (8 16:21 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 8 Jul 2008 20:30:53 +0000 (8 22:30 +0200)
tree2dbadb5bda572b20515e864af49832d2837bee0d
parent32c959b1bbbb54741106971abe0b7a1475e4053d
polyparam.c: find_m_faces: collect rays of unbounded parametric polyhedra

If there were lines in the resulting polyhedron, there was a chance that
parametric vertices were not computed correctly [reported by Salvatore
Ruggieri]. Asked a request by Salvatore in the same time: as I needed to
compute the lines and unidirectional rays, I added them in the resulting
structure, as a PolyLib-formated matrix of rays. Structure change in
types.h. Added some tests in Test/pp to check correctness (some of them
are from Salvatore, some by Vincent).

Tested-by: Salvatore Ruggieri
19 files changed:
Test/pp/Makefile.am
Test/pp/ray1.in [new file with mode: 0644]
Test/pp/ray1.out [new file with mode: 0644]
Test/pp/ray2.in [new file with mode: 0644]
Test/pp/ray2.out [new file with mode: 0644]
Test/pp/ray3.in [new file with mode: 0644]
Test/pp/ray3.out [new file with mode: 0644]
Test/pp/salvatore.out
Test/pp/salvatore_new1.in [new file with mode: 0644]
Test/pp/salvatore_new1.out [new file with mode: 0644]
Test/pp/salvatore_new2.in [new file with mode: 0644]
Test/pp/salvatore_new2.out [new file with mode: 0644]
Test/pp/xavi.in [new file with mode: 0644]
Test/pp/xavi.out [copied from Test/pp/salvatore.out with 52% similarity]
applications/pp.c
configure.in
include/polylib/polyparam.h
include/polylib/types.h
source/kernel/polyparam.c