BRL-CAD
joint.c File Reference
#include "common.h"
#include <stddef.h>
#include <math.h>
#include "bio.h"
#include "bu/cv.h"
#include "vmath.h"
#include "bn.h"
#include "rtgeom.h"
#include "raytrace.h"
#include "nmg.h"
#include "db.h"
#include "brep.h"
#include "../../librt_private.h"
Include dependency graph for joint.c:

Go to the source code of this file.

Data Structures

struct  joint_specific
 
struct  joint_selection
 

Macros

#define JOINT_NULL   ((struct joint_specific *)0)
 
#define JOINT_FLOAT_SIZE   10
 
#define LOCATION_RADIUS   5
 
#define JOINT_SELECT_VMAX_DISTSQ   100.0
 

Enumerations

enum  {
  JOINT_SELECT_LOC, JOINT_SELECT_V1, JOINT_SELECT_V2, JOINT_SELECT_PATH1,
  JOINT_SELECT_PATH2
}
 

Functions

int rt_joint_prep (struct soltab *stp, struct rt_db_internal *ip, struct rt_i *rtip)
 
void rt_joint_print (const struct soltab *stp)
 
int rt_joint_shot (struct soltab *stp, struct xray *rp, struct application *ap, struct seg *seghead)
 
void rt_joint_norm (struct hit *hitp, struct soltab *stp, struct xray *rp)
 
void rt_joint_curve (struct curvature *cvp, struct hit *hitp, struct soltab *stp)
 
void rt_joint_uv (struct application *ap, struct soltab *stp, struct hit *hitp, struct uvcoord *uvp)
 
void rt_joint_free (struct soltab *stp)
 
int rt_joint_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_joint_import4 (struct rt_db_internal *ip, const struct bu_external *ep, const fastf_t *mat, const struct db_i *dbip)
 
int rt_joint_export4 (struct bu_external *ep, const struct rt_db_internal *ip, double local2mm, const struct db_i *dbip)
 
int rt_joint_import5 (struct rt_db_internal *ip, const struct bu_external *ep, const fastf_t *mat, const struct db_i *dbip)
 
int rt_joint_export5 (struct bu_external *ep, const struct rt_db_internal *ip, double local2mm, const struct db_i *dbip)
 
int rt_joint_describe (struct bu_vls *str, const struct rt_db_internal *ip, int verbose, double mm2local)
 
void rt_joint_ifree (struct rt_db_internal *ip)
 
int rt_joint_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_joint_params (struct pc_pc_set *ps, const struct rt_db_internal *ip)
 
struct rt_selection_setrt_joint_find_selections (const struct rt_db_internal *ip, const struct rt_selection_query *query)
 
int rt_joint_process_selection (struct rt_db_internal *ip, struct db_i *dbip, const struct rt_selection *selection, const struct rt_selection_operation *op)
 

Variables

const struct bu_structparse rt_joint_parse []