#include <BSpline.h>
geData::BSpline::BSpline |
( |
| ) |
|
geData::BSpline::~BSpline |
( |
| ) |
|
void geData::BSpline::clear |
( |
| ) |
|
void geData::BSpline::create |
( |
int |
n, |
|
|
int |
t, |
|
|
vmml::Vector3d * |
control, |
|
|
vmml::Vector3d * |
output, |
|
|
int |
num_output |
|
) |
| |
Simple b-spline curve algorithm
- Parameters
-
n | - the number of control points minus 1 |
t | - the degree of the polynomial |
control | - control point array made up of point stucture |
output | - array in which the calculate spline points are to be put |
num_output | - how many points on the spline are to be calculated |
t | - the degree of the polynomial |
Pre-conditions: n+2>t (no curve results if n+2<=t) control array contains the number of points specified by n output array is the proper size to hold num_output point structures
The documentation for this class was generated from the following files:
- /Users/mthoeny/Development/gis_globeEngine/trunk/src/globeEngineDataStructures/include/BSpline.h
- /Users/mthoeny/Development/gis_globeEngine/trunk/src/globeEngineDataStructures/src/BSpline.cpp