Skip to content
Snippets Groups Projects
Select Git revision
  • d017db8a0cf369feaf09cf4a2f121d13b08fa4fd
  • main default protected
2 results

triangulation

user avatar
JM authored
d017db8a
History

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

Résultats obtenus après exécution des tests

Las

Las_tests

Triangulation

Triangulation_tests

STL

STL_tests