New function that calculates the 2d projection of the object attached to the label