SplineCurve.cpp File Reference

#include <common/SplineCurve.h>

Go to the source code of this file.

Functions

static fixed splineBlend (int k, int t, int *u, fixed v)
static void splinePoint (int *u, int n, int t, fixed v, std::vector< FixedVector > &control, FixedVector &output)
static void splineKnots (int *u, int n, int t)
static void splineCurve (std::vector< FixedVector > &inp_list, int n, int *knots, int t, std::vector< FixedVector > &outp_list, int res)


Function Documentation

static fixed splineBlend ( int  k,
int  t,
int *  u,
fixed  v 
) [static]

Definition at line 35 of file SplineCurve.cpp.

Referenced by splinePoint().

static void splineCurve ( std::vector< FixedVector > &  inp_list,
int  n,
int *  knots,
int  t,
std::vector< FixedVector > &  outp_list,
int  res 
) [static]

Definition at line 105 of file SplineCurve.cpp.

References splinePoint().

Referenced by SplineCurve::generate().

static void splineKnots ( int *  u,
int  n,
int  t 
) [static]

Definition at line 85 of file SplineCurve.cpp.

Referenced by SplineCurve::generate().

static void splinePoint ( int *  u,
int  n,
int  t,
fixed  v,
std::vector< FixedVector > &  control,
FixedVector output 
) [static]

Definition at line 63 of file SplineCurve.cpp.

References splineBlend().

Referenced by splineCurve().


Generated on Mon Feb 16 15:14:57 2009 for Scorched3D by  doxygen 1.5.3