BRL-CAD
#include "common.h"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <math.h>
#include <ctype.h>
#include "bnetwork.h"
#include "tcl.h"
#include "bu/cv.h"
#include "vmath.h"
#include "nmg.h"
#include "db.h"
#include "rtgeom.h"
#include "raytrace.h"
Include dependency graph for arbn.c:

Go to the source code of this file.

Data Structures

struct  arbn_pts
 
struct  arbn_edges
 
struct  poly_face
 

Macros

#define LOC(i, j)   i*(aip->neqn)+j
 

Functions

int rt_arbn_bbox (struct rt_db_internal *ip, point_t *min, point_t *max, const struct bn_tol *tol)
 
int rt_arbn_prep (struct soltab *stp, struct rt_db_internal *ip, struct rt_i *rtip)
 
void rt_arbn_print (const struct soltab *stp)
 
int rt_arbn_shot (struct soltab *stp, struct xray *rp, struct application *ap, struct seg *seghead)
 
void rt_arbn_norm (struct hit *hitp, struct soltab *stp, struct xray *rp)
 
void rt_arbn_curve (struct curvature *cvp, struct hit *hitp, struct soltab *stp)
 
void rt_arbn_uv (struct application *ap, struct soltab *stp, struct hit *hitp, struct uvcoord *uvp)
 
void rt_arbn_free (struct soltab *stp)
 
int rt_arbn_plot (struct bu_list *vhead, struct rt_db_internal *ip, const struct rt_tess_tol *ttol, const struct bn_tol *tol, const struct rt_view_info *info)
 
int rt_arbn_tess (struct nmgregion **r, struct model *m, struct rt_db_internal *ip, const struct rt_tess_tol *ttol, const struct bn_tol *tol)
 
int rt_arbn_import4 (struct rt_db_internal *ip, const struct bu_external *ep, const fastf_t *mat, const struct db_i *dbip)
 
int rt_arbn_export4 (struct bu_external *ep, const struct rt_db_internal *ip, double local2mm, const struct db_i *dbip)
 
int rt_arbn_import5 (struct rt_db_internal *ip, const struct bu_external *ep, const fastf_t *mat, const struct db_i *dbip)
 
int rt_arbn_export5 (struct bu_external *ep, const struct rt_db_internal *ip, double local2mm, const struct db_i *dbip)
 
int rt_arbn_describe (struct bu_vls *str, const struct rt_db_internal *ip, int verbose, double mm2local)
 
void rt_arbn_ifree (struct rt_db_internal *ip)
 
int rt_arbn_get (struct bu_vls *logstr, const struct rt_db_internal *intern, const char *attr)
 
int rt_arbn_adjust (struct bu_vls *logstr, struct rt_db_internal *intern, int argc, const char **argv)
 
int rt_arbn_params (struct pc_pc_set *ps, const struct rt_db_internal *ip)
 
void rt_arbn_surf_area (fastf_t *area, const struct rt_db_internal *ip)
 
void rt_arbn_centroid (point_t *cent, const struct rt_db_internal *ip)
 
void rt_arbn_volume (fastf_t *volume, const struct rt_db_internal *ip)
 

Detailed Description

Intersect a ray with an Arbitrary Regular Polyhedron with an arbitrary number of faces.

Definition in file arbn.c.