import base_pi;
size(10cm,0);
pair O=(0,0);
path cle=rotate(30)*polygon(3);
pair a=point(cle,0),
b=point(cle,1),
c=point(cle,2);
/**/
drawline(O,false,a,true,.8red);
drawline(O,true,b,false,.8blue);
drawline(Label("$(d)$",Relative(.1)),O,true,c,true,.8green,Margin(5,5));
drawline(a,b);
drawline(b,c);
/**/
drawline(c--a);
dot("$O$",O,W);
dot("$A$",a,N);dot("$B$",b,NE);dot("$C$",c,SE);
// Enlarge the current picture bounding box (note that is can be differed at the end).
draw(box(-2a-(0,2b.y),2a+(0,2b.y)),invisible);