Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import geometry;
- import patterns;
- //import graph;
- //import three;
- defaultpen(fontsize(11pt));
- dotfactor=6;
- size(10cm,0);
- add ("hatchback",hatch (1mm,NW,gray));
- point A,B,C,D,M,O;
- A=(0,0); D=(4,0);
- B=2.5*dir(60);
- line AD = line(A,D);
- line AB = line(A,B);
- line BC = parallel(B,AD);
- line CD = parallel(D,AB);
- C= intersectionpoint(BC,CD);
- M=(B+C)/2;
- line AM = line(A,M);
- line BD = line(B,D);
- O = intersectionpoint(AM,BD);
- draw(A--B--C--D---cycle,black+0.9bp);
- draw(B--D^^A--M,black+0.3bp);
- draw(B--C, white+opacity(0), StickIntervalMarker(2, 1, size=0.25cm));
- filldraw(A--O--D--cycle,pattern ("hatchback"));
- filldraw(B--O--M--cycle,pattern ("hatchback"));
- markangle(1,10,M,O,B); markangle(1,10,A,O,D);
- markangle(2,15,B,M,A); markangle(2,15,D,A,O);
- dot(A); dot(D); dot(B); dot(C); dot(M); dot(O);
- label("$A$",A,S); label("$D$",D,S);
- label("$B$",B,N); label("$C$",C,N);
- label("$M$",M,N); label("$O$",O,1.5W);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement