cgal/Jet_fitting_3/examples/Jet_fitting_3
Marc Pouget 4501a57ae3 debug de lapack... 2006-05-03 17:46:35 +00:00
..
data 2006-02-22 19:16:28 +00:00
GSL.h
LinAlg_lapack.h debug de lapack... 2006-05-03 17:46:35 +00:00
PolyhedralSurf.C 2006-03-01 09:14:10 +00:00
PolyhedralSurf.h FC: I completed a solution of props maps based on std::map. 2006-03-23 16:56:42 +00:00
PolyhedralSurf_operations.h FC: I completed a solution of props maps based on std::map. 2006-03-23 16:56:42 +00:00
PolyhedralSurf_rings.h bug fixed in monge coeff computation, collecting neighbors and i!j! in 2006-04-05 15:49:59 +00:00
README 2006-04-30 21:09:33 +00:00
blind.C try with clapack 2006-04-19 21:03:51 +00:00
blind_1pt.C try with clapack 2006-04-19 21:03:51 +00:00
blind_1pt_gsl.C different versions for gsl and clapack 2006-04-27 15:01:55 +00:00
blind_gsl.C different versions for gsl and clapack 2006-04-27 15:01:55 +00:00
makefile different versions for gsl and clapack 2006-04-27 15:01:55 +00:00
options.C
options.h
test.off

README

ONGOING / QUESTIONS
====================

1. property maps: completed the solution with std::map. let's wait for
Andreas' solution using the fields of the classes

2. Visu: yes, geomview is probably the option...

3. linagl ... let's see..


NOTE: GSL/CLAPACK
-----------------
There are 2 versions, _gsl and the other under contruction with clapack.

Program blind_1pt.exe 
--------------------- 
takes as input a <inputPoints.txt> which is a xyz text file 
it compute the fitting for this single entry and 
it outputs results in the <output.txt> file and on the standard std::cout

Usage is : main <inputPoints.txt> <output.txt> <d_fitting>, <d_monge>" 

./blind_1pt.exe data/in_points_file.txt output.txt 2 2

./blind_1pt.exe data/in_points_d4.txt output.txt 4 4


Program blind.exe
-----------------
takes an filename.off file as input,
it computes a fitting for each vertex

it outputs the results in :
1. filename.off.4ogl.txt  which can be visualized with 
	the demo program visu.exe
2. if option -v, filename.off.verb.txt contains human readable results

Usage is : blind  with options    
    "f:fName <string>",	 // filename.off
    "d:deg <int>",	 // degree of the jet
    "m:mdegree <int>",	 // degree of the Monge rep
    "a:nrings <int>",	 // # rings 
			0 means collect enough rings to make appro possible
			k>=1 fixes the nb of rings to be collected
    "p:npoints <int>",   //# points
			0 means this option is not considered, this is the default
			n>=1 fixes the nb of points to be used
    "v|",                // verbose?
 
Note : if the nb of collected points is less than the required min number of 
   points to make the approxiamtion possible (which is constrained by the deg)
   then the vertex is skipped.

 ./blind.exe -f data/ellipe0.003.off -d2 -m2 -a2 
 ./blind.exe -f data/poly2x\^2+y\^2-0.062500-off -d2 -m2 -a2   

visu with:
./visu.exe ../../examples/Jet_fitting_3/data/ellipe0.003.off ../../examples/Jet_fitting_3/data_ellipe0.003.off.4ogl.txt

../../demo/Jet_fitting_3/visu.exe data/ellipe0.003.off data_ellipe0.003.off.4ogl.txt