SilverScreen Solid Modeler

congruent

congruent

Previous topic Next topic  

congruent

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

int congruent ( char *obj1, char *obj2 )

 

char *obj1;     // path to SilverScreen object

char *obj2;     // path to SilverScreen object

 



Synopsis

#include "silver.h"

 

The congruent function determines whether the objects specified by obj1 and obj2 are identical.

 

Parameters

obj1 and obj2 are both null-terminated strings containing the full paths to SilverScreen objects.

 

Return Value

congruent returns one of the following values (as defined in silver.h):

 

Name

Value

Meaning

CONGRUENT

1

the solid objects are congruent

INCONGRUENT

0

the solid objects are not congruent

NOT_SOLID

-1

one or both of the objects is not a solid

CALC_FAILURE

-2

an internal error in calculation occurred

NOT_FOUND

-3

one or both of the objects was not found

 

Comments

The objects must be valid solids.