SilverScreen Solid Modeler

POINT_NODE        

POINT_NODE        

Previous topic Next topic  

POINT_NODE        

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

POINT_NODE

 

Structure

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

 

 

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

 

    // Point-specific members

 

    VERTEX      point;

    int         point_type;

    USINT       point_width_style;

    double      point_size;

    RGB         point_rgb;

    };

 

 


Members

(Point-specific)

Member

Description

point

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

point_type

A numeric value whose meaning is as follows

 

Value

Meaning

0

A common point, displayed as a dot

1

An XY point, displayed as a plus-sign parallel to the Cartesian X and Y axes

2

A YZ point, displayed as a plus-sign parallel to the Cartesian Y and Z axes

3

A ZX point, displayed as a plus-sign parallel to the Cartesian X and Z axes

4

A triad point, displayed as 3 lines parallel to the Cartesian X, Y, and Z axes

point_width_style

The edge width and style index for rendering the point

point_size

When 'point_type' is non-zero, this is the length of an axis that is parallel to one of the Cartesian coordinate axes

point_rgb

The color used to render the point primitive

 

 

See Also

xyz_of_vertex

 

Header

silver.h, ssnodes.h