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(9cm,0);
- add ("hatchback",hatch (1mm,NW,gray));
- point A,B,C,D,K,M,N1,L;
- A=(0,0); D=(3,0);
- B=(1,2.5); C=(2.5,2);
- K = (C+D)/2;
- L= (A+D)/2;
- M = (A+B)/2;
- N1=(B+C)/2;
- dot(A); dot(D); dot(B); dot(C);
- dot(K); dot(L); dot(M); dot(N1);
- draw(A--B--C--D--cycle,black+0.6bp);
- draw(A--B, white+opacity(0), StickIntervalMarker(2, 1, size=0.25cm));
- draw(B--C, white+opacity(0), StickIntervalMarker(2, 2, size=0.3cm));
- filldraw(M--N1--K--L--cycle,pattern ("hatchback"));
- draw(A--C);
- label("$A$",A,S); label("$D$",D,S);
- label("$B$",B,N); label("$C$",C,NE);
- label("$K$",K,E); label("$L$",L,S);
- label("$M$",M,W); label("$N$",N1,N);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement