Node: Clearing Shapes, Next: , Previous: Applying Transformations to Shapes, Up: Shape Reference



Clearing

void clear (void) Pure virtual function
The precise definition of this function will depend on the nature of the derived class. In general, it will call the destructor on dynamically allocated objects belonging to the Shape, and deallocate the memory they occupied.