Anordning och förfarande för att mäta vinklar och överföra dessa till en bearbetningsanordning