BRL-CAD
|
#include "common.h"
#include "bv/vlist.h"
#include "bn/tol.h"
#include "bg/defines.h"
#include "brep/defines.h"
Go to the source code of this file.
Data Structures | |
struct | cdt_bmesh |
Functions | |
struct ON_Brep_CDT_State * | ON_Brep_CDT_Create (void *bv, const char *objname) |
void | ON_Brep_CDT_Destroy (struct ON_Brep_CDT_State *s) |
const char * | ON_Brep_CDT_ObjName (struct ON_Brep_CDT_State *s) |
void | ON_Brep_CDT_Tol_Set (struct ON_Brep_CDT_State *s, const struct bg_tess_tol *t) |
void | ON_Brep_CDT_Tol_Get (struct bg_tess_tol *t, const struct ON_Brep_CDT_State *s) |
void * | ON_Brep_CDT_Brep (struct ON_Brep_CDT_State *s) |
int | ON_Brep_CDT_Tessellate (struct ON_Brep_CDT_State *s, int face_cnt, int *faces) |
int | ON_Brep_CDT_Status (struct ON_Brep_CDT_State *s) |
int | ON_Brep_CDT_VList (struct bv_vlblock *vbp, struct bu_list *vlfree, struct bu_color *c, int mode, struct ON_Brep_CDT_State *s) |
int | ON_Brep_CDT_Ovlp_Resolve (struct ON_Brep_CDT_State **s_a, int s_cnt, double lthreshold, int timeout) |
int | ON_Brep_CDT_Mesh (int **faces, int *fcnt, fastf_t **vertices, int *vcnt, int **face_normals, int *fn_cnt, fastf_t **normals, int *ncnt, struct ON_Brep_CDT_State *s, int exp_face_cnt, int *exp_faces) |
int | brep_facecdt_plot (struct bu_vls *vls, const char *solid_name, const struct bg_tess_tol *ttol, const struct bn_tol *tol, const ON_Brep *brep, struct bu_list *p_vhead, struct bv_vlblock *vbp, struct bu_list *vlfree, int index, int plottype, int num_points) |
int | brep_cdt_fast (int **faces, int *face_cnt, vect_t **pnt_norms, point_t **pnts, int *pntcnt, const ON_Brep *brep, int index, const struct bg_tess_tol *ttol, const struct bn_tol *tol) |
int | cdt_bmesh_create (struct cdt_bmesh **m) |
void | cdt_bmesh_destroy (struct cdt_bmesh *m) |
int | cdt_bmesh_deserialize (const char *fname, struct cdt_bmesh *m) |
int | cdt_bmesh_repair (struct cdt_bmesh *m) |
struct ON_Brep_CDT_State * ON_Brep_CDT_Create | ( | void * | bv, |
const char * | objname | ||
) |
void ON_Brep_CDT_Destroy | ( | struct ON_Brep_CDT_State * | s | ) |
const char * ON_Brep_CDT_ObjName | ( | struct ON_Brep_CDT_State * | s | ) |
void ON_Brep_CDT_Tol_Set | ( | struct ON_Brep_CDT_State * | s, |
const struct bg_tess_tol * | t | ||
) |
void ON_Brep_CDT_Tol_Get | ( | struct bg_tess_tol * | t, |
const struct ON_Brep_CDT_State * | s | ||
) |
void * ON_Brep_CDT_Brep | ( | struct ON_Brep_CDT_State * | s | ) |
int ON_Brep_CDT_Tessellate | ( | struct ON_Brep_CDT_State * | s, |
int | face_cnt, | ||
int * | faces | ||
) |
int ON_Brep_CDT_Status | ( | struct ON_Brep_CDT_State * | s | ) |
int ON_Brep_CDT_VList | ( | struct bv_vlblock * | vbp, |
struct bu_list * | vlfree, | ||
struct bu_color * | c, | ||
int | mode, | ||
struct ON_Brep_CDT_State * | s | ||
) |
int ON_Brep_CDT_Ovlp_Resolve | ( | struct ON_Brep_CDT_State ** | s_a, |
int | s_cnt, | ||
double | lthreshold, | ||
int | timeout | ||
) |
int ON_Brep_CDT_Mesh | ( | int ** | faces, |
int * | fcnt, | ||
fastf_t ** | vertices, | ||
int * | vcnt, | ||
int ** | face_normals, | ||
int * | fn_cnt, | ||
fastf_t ** | normals, | ||
int * | ncnt, | ||
struct ON_Brep_CDT_State * | s, | ||
int | exp_face_cnt, | ||
int * | exp_faces | ||
) |
int brep_facecdt_plot | ( | struct bu_vls * | vls, |
const char * | solid_name, | ||
const struct bg_tess_tol * | ttol, | ||
const struct bn_tol * | tol, | ||
const ON_Brep * | brep, | ||
struct bu_list * | p_vhead, | ||
struct bv_vlblock * | vbp, | ||
struct bu_list * | vlfree, | ||
int | index, | ||
int | plottype, | ||
int | num_points | ||
) |
int brep_cdt_fast | ( | int ** | faces, |
int * | face_cnt, | ||
vect_t ** | pnt_norms, | ||
point_t ** | pnts, | ||
int * | pntcnt, | ||
const ON_Brep * | brep, | ||
int | index, | ||
const struct bg_tess_tol * | ttol, | ||
const struct bn_tol * | tol | ||
) |
int cdt_bmesh_create | ( | struct cdt_bmesh ** | m | ) |
void cdt_bmesh_destroy | ( | struct cdt_bmesh * | m | ) |
int cdt_bmesh_deserialize | ( | const char * | fname, |
struct cdt_bmesh * | m | ||
) |
int cdt_bmesh_repair | ( | struct cdt_bmesh * | m | ) |