SilverScreen Solid Modeler

interference

interference

Previous topic Next topic  

interference

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int interference ( BOS_NODE *bos1, BOS_NODE *bos2 )

 

BOS_NODE *bos1;    // address of SilverScreen block, object or symbol

 

 

 

 

 




Synopsis

#include "ssnodes.h"

 

The interference function checks the two blocks, objects, or symbols pointed at by bos1 and bos2 for interference, i.e. 3D overlapping.

 

 

Parameters

bos1 and bos2 are pointers to SilverScreen BOS's, as obtained via get_bos.

 

 

Return Value

interference returns 0 is if the entities do not interfere; 1 is returned if they interfere, and -1 is returned if there was a failure.

 

 

See Also

get_bos