nurb_poly.c File Reference

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

Include dependency graph for nurb_poly.c:

Go to the source code of this file.

Functions

rt_nurb_polyrt_nurb_to_poly (struct face_g_snurb *srf)
rt_nurb_polyrt_nurb_mk_poly (fastf_t *v1, fastf_t *v2, fastf_t *v3, fastf_t *uv1, fastf_t *uv2, fastf_t *uv3)


Detailed Description

Returns two polygons from a NURB surface. Asumes that the surface is flat.

Author - Paul R. Stay

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

Definition in file nurb_poly.c.


Function Documentation

struct rt_nurb_poly* rt_nurb_mk_poly fastf_t v1,
fastf_t v2,
fastf_t v3,
fastf_t uv1,
fastf_t uv2,
fastf_t uv3
 

Definition at line 116 of file nurb_poly.c.

References bu_malloc(), rt_nurb_poly::next, rt_nurb_poly::ply, rt_nurb_poly::uv, and VMOVE.

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