Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

app-gregor/harbrecht/matlab_c.h
Go to the documentation of this file.
00001 /****************
00002  *  Matlab_C.h  *
00003  ****************/
00004 
00005  
00006 /*=================================================*
00007  *  Schnittstelle zwischen Matlab und C:           * 
00008  *  Konvertiert die Patch- und Punkteliste         *
00009  *  vom Matlab-Format ins C-Format und umgekehrt.  * 
00010  *=================================================*/
00011 
00012 
00013 void c2matlab_pointlist(vector3 **P, double *PP, unsigned int np);
00014 /* Konvertiert die vector3-Punkteliste P in eine
00015    (3*np,1)-REAL-Matrix PP fuer Matlab und gibt
00016    den Speicherplatz von P frei. */
00017       
00018 
00019 vector3 *matlab2c_pointlist(double *PP, unsigned int np);
00020 /* Konvertiert die (3*np,1)-REAL-Punkteliste PP 
00021    in eine vector3-Punkteliste fuer C */
00022 
00023 
00024 void c2matlab_patchlist(unsigned int ***F, double *FF, unsigned int nf);
00025 /* Konvertiert die (nf,4)-(unsigned int)-Matrix F in eine
00026    (4*nf,1)-REAL-Matrix FF fuer Matlab, wobei die Indizes
00027    um eins erhoeht werden. Der Speicherplatz von F wird
00028    freigegeben. */
00029       
00030 
00031 unsigned int **matlab2c_patchlist(double *FF, unsigned int nf);
00032 /* Konvertiert die (4*nf,1)-REAL-Patchliste aus Matlab
00033    in eine (nf,4)-(unsigned int)-Matrix F fuer C,
00034    wobei die Indizes um 1 reduziert werden. */
00035 
00036 
00037 void free_patchlist(unsigned int ***F, unsigned int nf);
00038 /* gibt den Speicherplatz der (nf,4)-(unsigned int)-Patchliste F frei */

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)