removeAll method

void removeAll()

Remove all segments from the part.

After calling this method the part is empty.