---------- ---------- ---------- ---------- ---------- ---------- ---------- ----------
                                 

##  How to trace a rhombus, if we know the center and the directions of the diagonals
 
# Center (5,4), direction of a diagonal (50°), lenght of it (10) and of the other (6).
 
PLANE(0,9, 0,9)
POINT(5,4,"brown")
Directio(5,4,50,5,"brown"); x1=Directionx; y1=Directiony
Directio(5,4,50+180,5,"brown"); x3=Directionx; y3=Directiony
Directio(5,4,50+90,3,"brown"); x2=Directionx; y2=Directiony
Directio(5,4,50+270,3,"brown"); x4=Directionx; y4=Directiony
polyline(c(x1,x2,x3,x4,x1),c(y1,y2,y3,y4,y1),"seagreen")

Back