SilverScreen Solid Modeler

text_to_xyz

text_to_xyz

Previous topic Next topic  

text_to_xyz

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

SS_XYZ *text_to_xyz ( char *txt, SS_XYZ *xyz )

 

char   *txt;        // XYZ string

SS_XYZ *xyz;        // address of XYZ struct to receive the parsed xyz value

 

 




Synopsis

#include "silver.h"

 

The text_to_xyz function parses the string txt as an XYZ triple, and stores the result into an SS_XYZ structure. The string txt should have the format "<double>,<double>,double>".

 

 

Parameters

txt is a null-terminated string containing the color. xyz is the address of an SS_XYZ struture that is to receive the result of parsing txt.

 

 

Return Value

text_to_xyz returns xyz always.

 

 

See Also

xyz_to_text