#include "common.h"
#include <stddef.h>
#include <stdio.h>
#include <math.h>
#include "machine.h"
#include "vmath.h"
#include "raytrace.h"
#include "nmg.h"
#include "db.h"
#include "rtgeom.h"
#include "./debug.h"
Include dependency graph for g_grip.c:
Go to the source code of this file.
Data Structures | |
struct | grip_specific |
Defines | |
#define | GRIP_NULL ((struct grip_specific *)0) |
#define | RT_HALF_SEG_MISS(SEG) (SEG).seg_stp=RT_SOLTAB_NULL |
Functions | |
int | rt_grp_prep (struct soltab *stp, struct rt_db_internal *ip, struct rt_i *rtip) |
void | rt_grp_print (register const struct soltab *stp) |
int | rt_grp_shot (struct soltab *stp, register struct xray *rp, struct application *ap, struct seg *seghead) |
void | rt_grp_vshot (struct soltab **stp, struct xray **rp, struct seg *segp, int n, struct application *ap) |
void | rt_grp_norm (register struct hit *hitp, struct soltab *stp, register struct xray *rp) |
void | rt_grp_curve (register struct curvature *cvp, register struct hit *hitp, struct soltab *stp) |
void | rt_grp_uv (struct application *ap, struct soltab *stp, register struct hit *hitp, register struct uvcoord *uvp) |
void | rt_grp_free (struct soltab *stp) |
int | rt_grp_class (void) |
int | rt_grp_plot (struct bu_list *vhead, struct rt_db_internal *ip, const struct rt_tess_tol *ttol, const struct bn_tol *tol) |
int | rt_grp_import (struct rt_db_internal *ip, const struct bu_external *ep, const fastf_t *mat, const struct db_i *dbip) |
int | rt_grp_export (struct bu_external *ep, const struct rt_db_internal *ip, double local2mm, const struct db_i *dbip) |
int | rt_grp_import5 (struct rt_db_internal *ip, const struct bu_external *ep, register const fastf_t *mat, const struct db_i *dbip) |
int | rt_grp_export5 (struct bu_external *ep, const struct rt_db_internal *ip, double local2mm, const struct db_i *dbip) |
int | rt_grp_describe (struct bu_vls *str, const struct rt_db_internal *ip, int verbose, double mm2local) |
void | rt_grp_ifree (struct rt_db_internal *ip) |
int | rt_grp_tess (struct nmgregion **r, struct model *m, struct rt_db_internal *ip, const struct rt_tess_tol *ttol, const struct bn_tol *tol) |
Variables | |
const struct bu_structparse | rt_grp_parse [] |
A GRIP is defiend by a direction normal, a center and a height/magnitued vector. The center is the control point used for all grip movements.
All Ray intersections return "missed"
The bounding box for a grip is emtpy.
Authors - Christopher T. Johnson
Copyright Notice - This software is Copyright (C) 1993 by Geometric Solutions, Inc. All rights reserved.
Definition in file g_grip.c.