Part: Avoid code duplication in Part2DObject