Complement Data Member Function

Populates a <NodeBuffer> with the complement (difference) of two sets.

Prototype

int32 Complement( NodeBuffer set_a, NodeBuffer set_b, NodeBuffer comp )

Parameters

Parameter Type Parameter Name Documentation
<NodeBuffer>set_aA pointer to the first <NodeBuffer>.
<NodeBuffer>set_bA pointer to the second <NodeBuffer>.
<NodeBuffer>compA pointer to the <NodeBuffer> that will store the complement. Note that pointers to <Node> objects in the <NodeBuffer> representing the complement are always non-owning.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Simdify Scripting Language code base.