Structure
Le fichier de résulat se situe dans result
.
delaunay_prog_seq
│ README.md
│ main.c
│ Makefile
│
|
└───las
│ │ las_reader.c
│ │ las_reader.h
│ │ las_tests.c
│ │ 'pyramid.ply'
│ │ 'test.ply'
│
|
└───stl
│ │ stl_writer.c
│ │ stl_writer.h
│ │ stl_tests.c
| └───'result_tests'
|
|
└───triangulation
│ │ triangulation.c
│ │ triangulation.h
│ │ triangulation_tests.c
|
|
└───chained_list
│ │ chained_list.c
│ │ chained_list.h
│
|
└───display
│ │ draw.c
│ │ draw.h
│ └───gfx
│
|
└───geometry
| │ geometry.c
| │ geometry.h
|
└───'result'
Lancer le programme
(Il est nécessaire de clean entre un make et un make tests)
make clean
make
./main
Avec input
./main 'Emplacement Fichier'
Avec Affichage
./main -gfx
./main 'Emplacement Fichier' -gfx
Avec fichiers fournis
./main ./input_exemple/random.ply -gfx
./main ./input_exemple/pos.ply -gfx
./main ./input_exemple/negat.ply -gfx
./main ./input_exemple/both.ply -gfx
./main ./input_exemple/pyramide.ply -gfx
Tests
make clean
make tests
./las_tests
./triangulation_tests
./stl_tests
Tests
(Il est nécessaire de clean entre un make et un make tests)
Cmocka est nécessaire pour lancer les tests