BRL-CAD
nurb_example.c File Reference
#include "common.h"
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include "vmath.h"
#include "raytrace.h"
#include "nurb.h"
#include "plot3.h"
Include dependency graph for nurb_example.c:

Go to the source code of this file.

Functions

double drand48 (void)
 
void interpolate_data ()
 
int main (int argc, char *argv[])
 

Variables

fastf_t grid [10][10][3]
 
fastf_t ngrid [10][10][3]
 

Function Documentation

void interpolate_data ( )

Definition at line 46 of file nurb_example.c.

References grid, pl_color(), rt_nurb_kvknot(), rt_nurb_plot_snurb(), rt_nurb_s_refine(), and rt_nurb_sinterp().

Referenced by main().

Here is the call graph for this function:

int main ( int  argc,
char *  argv[] 
)

Definition at line 66 of file nurb_example.c.

References drand48(), grid, interpolate_data(), pd_3cont(), pd_3move(), pl_color(), and OSL::Strings::v.

Here is the call graph for this function:

Variable Documentation

fastf_t grid[10][10][3]

Definition at line 40 of file nurb_example.c.

Referenced by interpolate_data(), and main().

fastf_t ngrid[10][10][3]

Definition at line 41 of file nurb_example.c.