SilverScreen Solid Modeler

bos_on_screen

bos_on_screen

Previous topic Next topic  

bos_on_screen

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int bos_on_screen ( BOS_NODE *bos )

 

BOS_NODE *bos;        // pointer to block, object or symbol

 

 

 




Synopsis

#include "ssnodes.h"

 

The bos_on_screen function determines whether the indicated entity is visible and its extents overlap the boundary defined by the current window.

 

 

Parameters

bos is a pointer to a SilverScreen entity, as obtainable by a call to get_bos.

 

 

Return Value

bos_on_screen returns 1 if bos is visible and its extents overlap the current window, and 0 otherwise.

 

 

Comments

A return value of 1 does not guarantee that bos is in the window (it may be concave); however, a return value of 0 does guarantee that no portion of bos may be seen in the window.

 

 

See Also

get_bos