SilverScreen Solid Modeler

CURVE_NODE        

CURVE_NODE        

Previous topic Next topic  

CURVE_NODE        

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

CURVE_NODE

 

Structure

A primitive-level data type that stores the data associated with a SilverScreen Spline or Bezier curve.

 

 

 struct CURVE_NODE : PRIM_NODE

    {

    SURFACE_NODE   *sn;

    RGB            surface_rgb;

    int            surface_pattern_number;

    USINT          curve_width_style;

    RGB            curve_rgb;

    PRIM_NODE      *first_point;

    TEXTURE_DATA   *texture;

    };

 

 


Members

(curve-specific)

Member

Description

sn

A SURFACE_NODE pointer, that if not NULL, stores the surface properties for rendering this primitive. When this member is NULL, then the surface properties from the parent OBJECT_NODE will be used to render this primitive.

surface_rgb

If the BITS_CLOSED flag is enabled on 'bits', then this is the fill color of the curve.

surface_pattern_number

If the BITS_CLOSED flag is enabled on 'bits', then this is the pattern index of the curve.

curve_width_style

The edge width and style index for rendering the curve.

curve_rgb

The edge color for rendering the curve.

first_point

A pointer to a list of SPOINT_NODEs if the BITS_SPLINE flag is enabled on 'bits', or of BPOINT_NODEs if the BITS_BEZIER flag is enabled on 'bits'.

texture

A TEXTURE_DATA pointer, that if not NULL, stores the texture properties for rendering this primitive. When this member is NULL, then the texture properties from the parent OBJECT_NODE will be used to render this primitive.

 

 

Remarks

A PRIM_NODE may be used to iterate the 'first_point' list, provided the first_hole member is not referenced.

 

Header

silver.h, ssnodes.h