nurb_util.c File Reference

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

Include dependency graph for nurb_util.c:

Go to the source code of this file.

Functions

face_g_snurbrt_nurb_new_snurb (int u_order, int v_order, int n_u, int n_v, int n_rows, int n_cols, int pt_type, struct resource *res)
edge_g_cnurbrt_nurb_new_cnurb (int order, int n_knots, int n_pts, int pt_type)
void rt_nurb_clean_snurb (struct face_g_snurb *srf, struct resource *res)
void rt_nurb_free_snurb (struct face_g_snurb *srf, struct resource *res)
void rt_nurb_clean_cnurb (struct edge_g_cnurb *crv)
void rt_nurb_free_cnurb (struct edge_g_cnurb *crv)
void rt_nurb_c_print (const struct edge_g_cnurb *crv)
void rt_nurb_s_print (char *c, const struct face_g_snurb *srf)
void rt_nurb_pr_kv (const struct knot_vector *kv)
void rt_nurb_pr_mesh (const struct face_g_snurb *m)
void rt_nurb_print_pt_type (int c)


Detailed Description

Utilities for NURB curves and surfaces.

Author - Paul Randal Stay

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

Definition in file nurb_util.c.


Function Documentation

void rt_nurb_clean_snurb struct face_g_snurb srf,
struct resource res
 

Definition at line 115 of file nurb_util.c.

References bu_free(), face_g_snurb::ctl_points, knot_vector::knots, face_g_snurb::l, bu_list::magic, NMG_CK_SNURB, NULL, face_g_snurb::order, face_g_snurb::u, and face_g_snurb::v.

Here is the call graph for this function:


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