BRL-CAD
nurb_c2.c File Reference
#include "common.h"
#include <math.h>
#include "bio.h"
#include "vmath.h"
#include "raytrace.h"
#include "nurb.h"
Include dependency graph for nurb_c2.c:

Go to the source code of this file.

Functions

void rt_nurb_curvature (struct curvature *cvp, const struct face_g_snurb *srf, fastf_t u, fastf_t v)
 

Detailed Description

Given parametric u, v values, return the curvature of the surface.

Definition in file nurb_c2.c.

Function Documentation

void rt_nurb_curvature ( struct curvature cvp,
const struct face_g_snurb *  srf,
fastf_t  u,
fastf_t  v 
)

Definition at line 40 of file nurb_c2.c.

References bn_vec_ortho(), bu_log(), curvature::crv_c1, curvature::crv_c2, curvature::crv_pdir, M, N, rt_nurb_free_snurb(), rt_nurb_s_diff(), and rt_nurb_s_eval().

Referenced by rt_nurb_curve().

Here is the call graph for this function: