Main Page | Data Structures | File List | Data Fields | Globals

fbgxBezier.c File Reference

#include <math.h>
#include <stdlib.h>

Functions

void initM (M, int npoints)
void cforwdif (int npoints, coeff, points)
void fbgxBezier (float *PtosCntl, long Npts, float *PtosInter)

Function Documentation

void cforwdif (  int  npoints,
coeff  ,
points 
) 
 

void fbgxBezier (  float *  PtosCntl,
long  Npts,
float *  PtosInter
) 
 

-----------------------------------------------------------------------

NOME: fbgxBezier

DESCRICAO: Interpola pontos sobre uma curva de Bezier.

PROTOTIPO: void fbgxBezier(float *PtosCntl, long Npts, float *PtosInter)

ENTRADAS : PtosCntl - lista com 4 pontos (x1,y1,x2,y2...,x4,y4) Npts - numero de pontos a interpolar

SAIDAS : PtosInter - lista de pontos interpolados (x1,y1,...,xnpts,ynpts)

--------------------------------------------------------------------------

void initM (  M  ,
int  npoints
) 
 


Generated on Wed Dec 17 13:53:56 2008 for XDraw by doxygen 1.3.5