BRL-CAD
|
Edge NURBS curve geometry. More...
#include <topology.h>
Data Fields | |
struct bu_list | l |
NOTICE: l.forw & l.back are NOT stored in database. For bspline primitive internal use only. More... | |
struct bu_list | eu_hd2 |
heads l2 list of edgeuses on this curve More... | |
int | order |
Curve Order. More... | |
struct knot_vector | k |
curve knot vector More... | |
int | c_size |
number of ctl points More... | |
int | pt_type |
curve point type More... | |
fastf_t * | ctl_points |
array [c_size] More... | |
long | index |
struct # in this model More... | |
Edge NURBS curve geometry.
The ctl_points on this curve are (u, v) values on the face's surface. As a storage and performance efficiency measure, if order <= 0, then the cnurb is a straight line segment in parameter space, and the k.knots and ctl_points pointers will be NULL. In this case, the vertexuse_a_cnurb's at both ends of the edgeuse define the path through parameter space.
IMPORTANT: First two items in edge_g_lseg and edge_g_cnurb (or any other segment type added) must be identical structures, so pointers are puns for both. eu_hd2 list must be in same place for both.
Definition at line 376 of file topology.h.
struct bu_list l |
NOTICE: l.forw & l.back are NOT stored in database. For bspline primitive internal use only.
Definition at line 377 of file topology.h.
struct bu_list eu_hd2 |
heads l2 list of edgeuses on this curve
Definition at line 378 of file topology.h.
int order |
Curve Order.
Definition at line 379 of file topology.h.
struct knot_vector k |
curve knot vector
Definition at line 380 of file topology.h.
int c_size |
number of ctl points
Definition at line 382 of file topology.h.
int pt_type |
curve point type
Definition at line 383 of file topology.h.
fastf_t* ctl_points |
array [c_size]
Definition at line 384 of file topology.h.
long index |
struct # in this model
Definition at line 385 of file topology.h.