SilverScreen Solid Modeler

TAG_NODE        

TAG_NODE        

Previous topic Next topic  

TAG_NODE        

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

TAG_NODE

 

Structure

A data type that is used to attach named properties to SilverScreen entities.

 

 

 struct TAG_NODE

    {

    int  type;

    NAME name;

 

    union

       {

       double  tag_double;

      SS_XYZ  tag_xyz;

       char    *tag_text;

       } data;

 

    TAG_NODE *next_tag;

    };

 

 


Members

Member

Description

type

Indicates data type contained in data:

 

Constant

Meaning

DOUBLE_TAG

a double

XYZ_TAG

a 3D point

TEXT_TAG

a null-terminated character string

 

name

The name of the tag, which must be unique to the entity that contains it.

data.tag_double

A floating-point double-precision value that is associated with the tag when type is DOUBLE_TAG

data.tag_xyz

An SS_XYZ value that is associated with the tag when type is XYZ_TAG

data.tag_text

A null-terminated ANSI character string that is associated with the tag when type is TEXT_TAG.

next_tag

Pointer to the next sibling TAG_NODE

 

 

See Also

get_tag, OBJECT_NODE

 

Header

silver.h, ssnodes.h