Q3Set_Add
You can use theQ3Set_Addfunction to add an element to a set.
TQ3Status Q3Set_Add ( TQ3SetObject set, TQ3ElementType type, const void *data);
set- A set object.
type- An element type.
data- A pointer to the element's data.
DESCRIPTION
TheQ3Set_Addfunction adds the element specified by thetypeanddataparameters to the set specified by thesetparameter. The set must already exist when you callQ3Set_Add. Note that the element data is copied into the set. Accordingly, you can reuse thedataparameter once you have calledQ3Set_Add.If the specified element type is a custom element type,
Q3Set_Adduses the custom type'skQ3MethodTypeElementCopyAddorkQ3MethodTypeElementCopyReplacecustom methods. See the chapter "QuickDraw 3D Objects" for complete information on custom element types.