Michele De Giosa
Hi Aniket, 
sorry for the delay, but I had to study before solving the problem, which was successful with one type of geometry, but not with the other! So I think I will have to change the geometry type to match the edge and angle, with the vertex of the coordinate system.
Thank for support