|
BRL-CAD
|
Files | |
| file | rhc.h |
Data Structures | |
| struct | rt_rhc_internal |
Macros | |
| #define | RT_RHC_CK_MAGIC(_p) BU_CKMAG(_p, RT_RHC_INTERNAL_MAGIC, "rt_rhc_internal") |
Functions | |
| int | rt_mk_hyperbola (struct rt_pnt_node *pts, fastf_t r, fastf_t b, fastf_t c, fastf_t dtol, fastf_t ntol, fastf_t min_abs) |
| DEPRECATED int | rt_mk_hyperbola_old (struct rt_pnt_node *pts, fastf_t r, fastf_t b, fastf_t c, fastf_t dtol, fastf_t ntol) |
| #define RT_RHC_CK_MAGIC | ( | _p | ) | BU_CKMAG(_p, RT_RHC_INTERNAL_MAGIC, "rt_rhc_internal") |
|
extern |
Approximate a hyperbola with line segments.
| pts | Linked list of points; must have at least two nodes on entry. |
| r | Rectangular half-width of the hyperbola. |
| b | Breadth (half-height) of the hyperbola. |
| c | Distance from the apex to the asymptote origin. |
| dtol | Maximum allowable chord-to-curve distance (mm). |
| ntol | Maximum allowable normal-deviation angle (radians); pass M_PI to ignore normal tolerance. |
| min_abs | Minimum absolute span (mm) below which subdivision stops, preventing runaway recursion from extremely tight tolerances. |
Recommended min_abs values:
pts.
|
extern |