Creating 2D or 3D points based on enum #3