nurb_tess.c File Reference

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

Include dependency graph for nurb_tess.c:

Go to the source code of this file.

Functions

fastf_t rt_nurb_par_edge (const struct face_g_snurb *srf, fastf_t epsilon)
fastf_t rt_cnurb_par_edge (const struct edge_g_cnurb *crv, fastf_t epsilon)


Detailed Description

Given Epsilon, compute the number of internal knots to add so that every triangle generated in parametric space is within epsilon of the original surface.

Author - Paul Randal Stay

Source - SECAD/VLD Computing Consortium, Bldg 394 The U.S. Army Ballistic Research Laboratory Aberdeen Proving Ground, Maryland 21005

Definition in file nurb_tess.c.


Function Documentation

fastf_t rt_nurb_par_edge const struct face_g_snurb srf,
fastf_t  epsilon
 

Definition at line 68 of file nurb_tess.c.

References face_g_snurb::ctl_points, MAGNITUDE, NULL, face_g_snurb::pt_type, RT_NURB_EXTRACT_COORDS, rt_nurb_free_snurb(), rt_nurb_s_diff(), RT_NURB_SPLIT_COL, RT_NURB_SPLIT_ROW, and face_g_snurb::s_size.

Referenced by rt_nurb_plot().

Here is the call graph for this function:

fastf_t rt_cnurb_par_edge const struct edge_g_cnurb crv,
fastf_t  epsilon
 

Definition at line 168 of file nurb_tess.c.

References bu_bomb(), bu_log(), edge_g_cnurb::order, edge_g_cnurb::pt_type, and RT_NURB_EXTRACT_COORDS.

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