nurb_interp.c File Reference

#include "common.h"
#include <stdio.h>
#include <string.h>
#include "machine.h"
#include "vmath.h"
#include "raytrace.h"
#include "nurb.h"

Include dependency graph for nurb_interp.c:

Go to the source code of this file.

Defines

#define NVAL(_col, _row)   data[((_row)*xmax+(_col))*3]

Functions

void rt_nurb_nodes (fastf_t *nodes, const struct knot_vector *knots, int order)
void rt_nurb_interp_mat (fastf_t *imat, struct knot_vector *knots, fastf_t *nodes, int order, int dim)
void rt_nurb_cinterp (struct edge_g_cnurb *crv, int order, const fastf_t *data, int n)
void rt_nurb_sinterp (struct face_g_snurb *srf, int order, const fastf_t *data, int ymax, int xmax)


Detailed Description

Interpolatopn routines for fitting NURB curves and and surfaces to existing data.

Author: Paul R. Stay

Source - The U. S. Army Research Laboratory Aberdeen Proving Ground, Maryland 21005-5068 USA

Definition in file nurb_interp.c.


Define Documentation

#define NVAL _col,
_row   )     data[((_row)*xmax+(_col))*3]
 

Referenced by rt_nurb_sinterp().


Function Documentation

void rt_nurb_nodes fastf_t nodes,
const struct knot_vector knots,
int  order
 

Definition at line 55 of file nurb_interp.c.

References knot_vector::k_size, and knot_vector::knots.

Referenced by rt_nurb_cinterp().

void rt_nurb_interp_mat fastf_t imat,
struct knot_vector knots,
fastf_t nodes,
int  order,
int  dim
 

Definition at line 74 of file nurb_interp.c.

References ptr, and rt_nurb_basis_eval().

Referenced by rt_nurb_cinterp().

Here is the call graph for this function:


Generated on Mon Sep 18 01:25:08 2006 for BRL-CAD by  doxygen 1.4.6