cgal/Jet_fitting_3/examples/Jet_fitting_3
Marc Pouget 4f92e283c3 fix warning 2007-02-27 09:11:30 +00:00
..
data review in process 2006-10-13 21:17:12 +00:00
PolyhedralSurf.cpp changed .C to .cpp in examples 2006-07-09 19:21:18 +00:00
PolyhedralSurf.h copyright 2007-02-15 15:53:30 +00:00
PolyhedralSurf_operations.h copyright 2007-02-15 15:53:30 +00:00
PolyhedralSurf_rings.h copyright 2007-02-15 15:53:30 +00:00
README details 2007-02-15 16:38:52 +00:00
blind.cpp fix warning 2007-02-27 09:11:30 +00:00
blind_1pt.cpp copyright 2007-02-15 15:53:30 +00:00
makefile switch to boost prog option 2007-02-13 17:22:38 +00:00

README

To compile, you need support for lapack

Program blind_1pt
--------------------- 
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 : blind_1pt <inputPoints.txt> <d_fitting>, <d_monge>" 

in_points are sampled on 0.1(x²+2y²)

./blind_1pt data/in_points_file.txt  2 2
./blind_1pt data/in_points_d4.txt  4 4


Program blind
-----------------
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 introspect-qt
2. if option -vtrue, filename.off.verb.txt contains human readable results

Allowed options:
  -h [ --help ]                                   produce help message.
  -f [ --input-file ] arg (=data/ellipe0.003.off) name of the input off file
  -d [ --degree-jet ] arg (=2)                    degree of the jet
  -m [ --degree-monge ] arg (=2)                  degree of the Monge rep
  -a [ --nb-rings ] arg (=0)                      number of rings to collect 
                                                  neighbors. 0 means collect 
                                                  enough rings to make appro 
                                                  possible a>=1 fixes the nb of
                                                  rings to be collected
  -p [ --nb-points ] arg (=0)                     number of neighbors to use.  
                                                  0 means this option is not 
                                                  considered, this is the 
                                                  default p>=1 fixes the nb of 
                                                  points to be used
  -v [ --verbose ] arg (=0)                       verbose output on text file


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
 ./blind -f data/ellipe0.003.off -d2 -m2 -a2 
 ./blind -f data/poly2x\^2+y\^2-0.062500-off -d2 -m2 -a2   
		
visu with:
./introspect-qt ../../examples/Jet_fitting_3/data/ellipe0.003.off ../../examples/Jet_fitting_3/data_ellipe0.003.off.4ogl.txt

../../demo/Jet_fitting_3/introspect-qt data/ellipe0.003.off data_ellipe0.003.off.4ogl.txt