public void ClearPrimitives() { Primitives.Clear(); this.rangeList.Clear(); this.simplePrimitives.Clear(); }