BRL-CAD
edge_g_cnurb Struct Reference

Edge NURBS curve geometry. More...

#include <topology.h>

Collaboration diagram for edge_g_cnurb:
[legend]

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_tctl_points
 array [c_size] More...
 
long index
 struct # in this model More...
 

Detailed Description

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.

Field Documentation

◆ l

struct bu_list l

NOTICE: l.forw & l.back are NOT stored in database. For bspline primitive internal use only.

Definition at line 358 of file topology.h.

◆ eu_hd2

struct bu_list eu_hd2

heads l2 list of edgeuses on this curve

Definition at line 358 of file topology.h.

◆ order

int order

Curve Order.

Definition at line 379 of file topology.h.

◆ k

struct knot_vector k

curve knot vector

Definition at line 379 of file topology.h.

◆ c_size

int c_size

number of ctl points

Definition at line 382 of file topology.h.

◆ pt_type

int pt_type

curve point type

Definition at line 383 of file topology.h.

◆ ctl_points

fastf_t* ctl_points

array [c_size]

Definition at line 384 of file topology.h.

◆ index

long index

struct # in this model

Definition at line 385 of file topology.h.


The documentation for this struct was generated from the following file: