|Shape* get_copy (void)
const virtual function
Creates a copy of the |
returns a pointer to
casts this pointer to a pointer to
Shape and returns it.
This function is used when copying
Pictures and in
Solid::output(), where objects of types derived from
must be handled in the same way, without their actual types being known.