Shape Modeling with Spline Partitions