CustomGeometry: Added Clear function. Fixed bug with missing breaks in switch block