IsClassAncestor

Checks if the class has given ancestor Returns 0 if not or minimal generation number (1 for direct parent)

Syntax

//
//   Strong typing definition
//
int64_t         IsClassAncestor(
                        OwlClass                owlClass,
                        OwlClass                ancestorOwlClass
                    );


//
//   Weak typing definition
//
int64_t __declspec(dllexport) __stdcall IsClassAncestor(
                                                int64_t                 owlClass,
                                                int64_t                 ancestorOwlClass
                                            );
    

Property owlClass

Size: 64 bit / 8 byte (value)
This attribute represents a handle to the class. The term owl is comming from W3C, the classes follow the expression power of Semantic Web concepts, therefore classes support multiple inheritance. Technically classes can also be distributed over different resources, however for this the parametric library is required as an extension on the basic Geometry Kernel API.

Property ancestorOwlClass

Size: 64 bit / 8 byte (value)
???.