SilverScreen Solid Modeler

SS_FACET_INFO        

SS_FACET_INFO        

Previous topic Next topic  

SS_FACET_INFO        

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

SS_FACET_INFO

 

Structure

A data type that stores information retrieved from the faceting routines about a single facet.

 

 

 struct SS_FACET_INFO

    {

    SS_XYZ      points[2];

    SS_XYZ      normals[2];

    SS_XYZ      texture_coord[2];

    VERTEX      vertices[2];

    EDGE        edge;

    int         winding_order_index[2];

    int         boundary_id;

    RGB         edge_rgb;

    USINT32     edge_type;

    } ;

 

 


Members

Member

Description

points

The two points of an edge in paint order

normals

Vertex normal if from a closed primitive boundary, averaged if appropriate, otherwise 0,0,0

texture_coord

The texture coordinates corresponding to 'points'

vertices

The corresponding vertex numbers if 'edge' is non-zero, otherwise 0

edge

The corresponding edge number, if appropriate, otherwise 0

winding_order_index

A pseudo primitive-local vertex id, or count.

boundary_id

Top-level containing the primitive's id. A change indicates going from a closed primitive's boundary to a hole, or from one hole to another.

edge_rgb

The edge color of the facet.

edge_type

The line width and style index of the facet.

 

 

See Also

prim_facet_get

 

Header

silver.h