SilverScreen Solid Modeler

extents

extents

Previous topic Next topic  

extents

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int extents ( char *path, SS_XYZ *high, SS_XYZ *low)

 

char   *path;      // path to SilverScreen primitive or entity

SS_XYZ *high;      // address of upper extents

SS_XYZ *low;       // address of lower extents

 

 




Synopsis

#include "silver.h"

 

The extents function computes the extents of a SilverScreen primitive or entity. The computed upper and lower extents are stored into the 3D points pointed to by high and low , respectively.

 

 

Parameters

path is a null-terminated string containing the name of the primitive of entity. high and low are addresses of 3D points that are to receive the upper and lower extents of the primitive or entity.

 

 

Return Value

extents returns 1 if the item referred to by path exists in the current drawing, and 0 otherwise.

 

 

See Also

bos_extents