SilverScreen Solid Modeler

BPOINT_NODE        

BPOINT_NODE        

Previous topic Next topic  

BPOINT_NODE        

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

BPOINT_NODE

 

Structure

A special (see remarks) primitive-level data type that stores the data associated with a SilverScreen Bezier control point.

 

   

 struct BPOINT_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

 

    // bezier control-point-specific members

 

    VERTEX      point;

    SS_XYZ      forward;

    SS_XYZ      backward;

    };

 

 


Members

(point-specific)

Member

Description

point

A VERTEX number from the OBJECT_NODE that contains the point and which stores the Bezier control point location.

forward

A displacement for the forward slope vector

backward

A displacement for the backward slope vector

 

 

Remarks

An BPOINT_NODE is linked into an OBJECT_NODE as a PRIM_NODE, and it is in all respects but one. An BPOINT_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

xyz_of_vertex

 

Header

silver.h, ssnodes.h