#include "common.h"
#include <stdio.h>
#include "machine.h"
#include "vmath.h"
#include "nmg.h"
#include "raytrace.h"
#include "nurb.h"
#include "../librt/debug.h"
Include dependency graph for nurb_ray.c:
Go to the source code of this file.
Data Structures | |
struct | internal_line |
struct | internal_convex_hull |
Defines | |
#define | FINDZERO(x0, x1, y0, y1) (x0 - y0 * ( x1 - x0) / (y1-y0)) |
#define | SIGN(a) ((a < 0.0)? -1 : 1) |
Functions | |
void | rt_nurb_pbound (struct face_g_snurb *srf, fastf_t *vmin, fastf_t *vmax) |
face_g_snurb * | rt_nurb_project_srf (const struct face_g_snurb *srf, fastf_t *plane1, fastf_t *plane2, struct resource *res) |
void | rt_nurb_clip_srf (const struct face_g_snurb *srf, int dir, fastf_t *min, fastf_t *max) |
face_g_snurb * | rt_nurb_region_from_srf (const struct face_g_snurb *srf, int dir, fastf_t param1, fastf_t param2, struct resource *res) |
rt_nurb_uv_hit * | rt_nurb_intersect (const struct face_g_snurb *srf, fastf_t *plane1, fastf_t *plane2, double uv_tol, struct resource *res) |
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_ray.c.
|
Definition at line 128 of file nurb_ray.c. |
|
Definition at line 140 of file nurb_ray.c. |
|
Definition at line 526 of file nurb_ray.c. References face_g_snurb::ctl_points, INFINITY, face_g_snurb::pt_type, ptr, RT_NURB_EXTRACT_COORDS, RT_NURB_SPLIT_COL, RT_NURB_SPLIT_ROW, face_g_snurb::s_size, V_MAX, and V_MIN. Referenced by rt_nurb_intersect(). |
|
Definition at line 55 of file nurb_ray.c. References bu_log(), DEBUG_RT_ISECT, face_g_snurb::dir, knot_vector::k_size, knot_vector::knots, face_g_snurb::order, face_g_snurb::pt_type, RT_NURB_IS_PT_RATIONAL, RT_NURB_MAKE_PT_TYPE, rt_nurb_new_snurb(), RT_NURB_PT_PROJ, RT_NURB_SPLIT_COL, face_g_snurb::s_size, face_g_snurb::u, face_g_snurb::v, and V4ARGS. Here is the call graph for this function: ![]() |
|
Definition at line 348 of file nurb_ray.c. References BU_LIST_APPEND, BU_LIST_DEQUEUE, BU_LIST_INIT, BU_LIST_WHILE, bu_log(), bu_malloc(), DEBUG_SPLINE, face_g_snurb::dir, knot_vector::k_size, knot_vector::knots, face_g_snurb::l, MAGNITUDE, rt_nurb_uv_hit::next, NMG_CK_SNURB, face_g_snurb::pt_type, RT_G_DEBUG, rt_nurb_clip_srf(), RT_NURB_EXTRACT_COORDS, rt_nurb_free_snurb(), RT_NURB_IS_PT_RATIONAL, rt_nurb_pbound(), rt_nurb_project_srf(), rt_nurb_region_from_srf(), rt_nurb_s_eval(), rt_nurb_s_print(), rt_nurb_s_split(), RT_NURB_SPLIT_ROW, rt_nurb_uv_hit::sub, top(), rt_nurb_uv_hit::u, face_g_snurb::u, rt_nurb_uv_hit::v, face_g_snurb::v, V3ARGS, VSCALE, and VSUB2. Here is the call graph for this function: ![]() |