|
||
SPOINT_NODE |
||||||||
Structure |
A special (see remarks) primitive-level data type that stores the data associated with a SilverScreen spline control point.
struct SPOINT_NODE { // All members of PRIM_NODE except first_hole pointer
USINT32 bits; int id; PRIM_NODE *next_node; PRIM_NODE *prev_node; OBJECT_NODE *parent
// spline control-point-specific members
VERTEX point; int knots; };
|
|||||||
Members (point-specific) |
|
|||||||
Remarks |
An SPOINT_NODE is linked into an OBJECT_NODE as a PRIM_NODE, and it is in all respects but one. An SPOINT_NODE does not have a first_hole pointer, which is an homage paid to memory at the expense of clarity. What this means in practice is that you should not reference the 'first_hole' pointer of a PRIM_NODE until you are sure the PRIM_NODE is a closed primitive (BITS_CLOSED will be enabled on the 'bits' member). |
|
||||||
See Also |
|
|||||||
Header |
silver.h, ssnodes.h |
|||||||