nmg_rt_segs.c File Reference

#include "common.h"
#include <stdlib.h>
#include <stddef.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include "machine.h"
#include "vmath.h"
#include "nmg.h"
#include "raytrace.h"
#include "plot3.h"

Include dependency graph for nmg_rt_segs.c:

Go to the source code of this file.

Data Structures

struct  ef_data

Defines

#define CK_SEGP(_p)
#define DO_LONGJMP
#define nmg_rt_segs_exit(_s)   {bu_log("%s\n",_s);longjmp(nmg_longjump_env, -1);}

Functions

int nmg_ray_segs (struct ray_data *rd)

Variables

jmp_buf nmg_longjump_env


Detailed Description

Support routines for raytracing an NMG.

Author - Lee A. Butler

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

Definition in file nmg_rt_segs.c.


Define Documentation

#define CK_SEGP _p   ) 
 

Value:

if ( !(_p) || !(*(_p)) ) {\
        bu_log("%s[line:%d]: Bad seg_p pointer\n", __FILE__, __LINE__); \
        nmg_rt_segs_exit("Goodbye"); }

Definition at line 86 of file nmg_rt_segs.c.

#define DO_LONGJMP
 

Definition at line 89 of file nmg_rt_segs.c.

#define nmg_rt_segs_exit _s   )     {bu_log("%s\n",_s);longjmp(nmg_longjump_env, -1);}
 

Definition at line 92 of file nmg_rt_segs.c.


Variable Documentation

jmp_buf nmg_longjump_env
 

Definition at line 91 of file nmg_rt_segs.c.


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