Constructor for the OdGePosition2d class.
The constructor constructs position object with specified coordinate values.