BRL-CAD
|
#include "common.h"
#include "bnetwork.h"
#include "bu/cv.h"
#include "bu/endian.h"
#include "bu/log.h"
#include "bu/malloc.h"
#include "bu/parse.h"
#include "brep/defines.h"
Go to the source code of this file.
Data Structures | |
class | Serializer |
class | Deserializer |
class | PooledObject< T > |
Functions | |
void | ON_BoundingBox_Plot (FILE *pf, ON_BoundingBox &bb) |
ON_3dPoint | ON_LinePlaneIntersect (ON_Line &line, ON_Plane &plane) |
void | ON_Plane_Plot (FILE *pf, ON_Plane &plane) |
void | ON_MinMaxInit (ON_3dPoint *min, ON_3dPoint *max) |
bool | ON_NearZero (double x, double tolerance=ON_ZERO_TOLERANCE) |
bool | face_GetBoundingBox (const ON_BrepFace &face, ON_BoundingBox &bbox, bool bGrowBox) |
bool | surface_GetBoundingBox (const ON_Surface *surf, const ON_Interval &u_interval, const ON_Interval &v_interval, ON_BoundingBox &bbox, bool bGrowBox) |
bool | surface_EvNormal (const ON_Surface *surf, double s, double t, ON_3dPoint &point, ON_3dVector &normal, int side=0, int *hint=0) |
ON_Curve * | interpolateCurve (ON_2dPointArray &samples) |
ON_NurbsCurve * | interpolateLocalCubicCurve (const ON_3dPointArray &Q) |
int | ON_Curve_PolyLine_Approx (ON_Polyline *polyline, const ON_Curve *curve, double tol) |
ON_Curve * | ON_Surface_Pushup (const ON_Surface *s, const ON_Curve &curve_2d, const ON_Interval *curve_2d_subdomain) |
const char * | ON_ObjectTypeToString (ON::object_type t) |
int | ON_BrepTikz (ON_String &s, const ON_Brep *brep, const char *color, const char *prefix) |
ON_Curve * | sub_curve (const ON_Curve *in, double a, double b) |
ON_Surface * | sub_surface (const ON_Surface *in, int dir, double a, double b) |
void | set_key (struct bu_vls *key, int k, int *karray) |
int | brep_translate_scv (ON_Brep *brep, int surface_index, int i, int j, fastf_t dx, fastf_t dy, fastf_t dz) |
void ON_BoundingBox_Plot | ( | FILE * | pf, |
ON_BoundingBox & | bb | ||
) |
ON_3dPoint ON_LinePlaneIntersect | ( | ON_Line & | line, |
ON_Plane & | plane | ||
) |
void ON_Plane_Plot | ( | FILE * | pf, |
ON_Plane & | plane | ||
) |
void ON_MinMaxInit | ( | ON_3dPoint * | min, |
ON_3dPoint * | max | ||
) |
bool ON_NearZero | ( | double | x, |
double | tolerance = ON_ZERO_TOLERANCE |
||
) |
bool face_GetBoundingBox | ( | const ON_BrepFace & | face, |
ON_BoundingBox & | bbox, | ||
bool | bGrowBox | ||
) |
bool surface_GetBoundingBox | ( | const ON_Surface * | surf, |
const ON_Interval & | u_interval, | ||
const ON_Interval & | v_interval, | ||
ON_BoundingBox & | bbox, | ||
bool | bGrowBox | ||
) |
bool surface_EvNormal | ( | const ON_Surface * | surf, |
double | s, | ||
double | t, | ||
ON_3dPoint & | point, | ||
ON_3dVector & | normal, | ||
int | side = 0 , |
||
int * | hint = 0 |
||
) |
ON_Curve * interpolateCurve | ( | ON_2dPointArray & | samples | ) |
ON_NurbsCurve * interpolateLocalCubicCurve | ( | const ON_3dPointArray & | Q | ) |
int ON_Curve_PolyLine_Approx | ( | ON_Polyline * | polyline, |
const ON_Curve * | curve, | ||
double | tol | ||
) |
ON_Curve * ON_Surface_Pushup | ( | const ON_Surface * | s, |
const ON_Curve & | curve_2d, | ||
const ON_Interval * | curve_2d_subdomain | ||
) |
const char * ON_ObjectTypeToString | ( | ON::object_type | t | ) |
int ON_BrepTikz | ( | ON_String & | s, |
const ON_Brep * | brep, | ||
const char * | color, | ||
const char * | prefix | ||
) |
ON_Curve * sub_curve | ( | const ON_Curve * | in, |
double | a, | ||
double | b | ||
) |
Get the curve segment between param a and param b
in | [in] the curve to split |
a | [in] either a or b can be the larger one |
b | [in] either a or b can be the larger one |
ON_Surface * sub_surface | ( | const ON_Surface * | in, |
int | dir, | ||
double | a, | ||
double | b | ||
) |
Get the sub-surface whose u in [a,b] or v in [a, b]
in | [in] the surface to split |
dir | [in] 0: u-split, 1: v-split |
a | [in] either a or b can be the larger one |
b | [in] either a or b can be the larger one |
void set_key | ( | struct bu_vls * | key, |
int | k, | ||
int * | karray | ||
) |