TikZでかいた図形

<link rel="stylesheet" type="text/css" href="https://tikzjax.com/v1/fonts.css">
<script src="https://tikzjax.com/v1/tikzjax.js"></script>

<script type="text/tikz">
  \begin{tikzpicture}
    \draw (0,0) circle (1in);
  \end{tikzpicture}
</script>

# TikZでかいた図形

![](https://texclip.marutank.net/render.php/texclip20230701022550.svg?s=%5Cusetikzlibrary%7Bmath%2Ccalc%7D%0D%0A%5Cbegin%7Btikzpicture%7D%0D%0A%0D%0A%5Ctikzmath%7B%0D%0A%5CEdge%20%3D%205.5%3B%25%E6%AD%A3%E6%96%B9%E5%BD%A2%E3%81%AE1%E8%BE%BA%0D%0A%25%E5%90%84%E9%A0%82%E7%82%B9%E3%81%AE%E5%BA%A7%E6%A8%99%0D%0A%20%20%20%20%5CULx%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CULy%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLLx%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLLy%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CURx%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CURy%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLRx%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLRy%3D-0.5*%5CEdge%3B%0D%0A%7D%0D%0A%0D%0A%0D%0A%20%20%20%20%5Ccoordinate%20(UL)%20at%20(-0.5*%5CEdge%2C0.5*%5CEdge)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(UR)%20at%20(0.5*%5CEdge%2C0.5*%5CEdge)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(LL)%20at%20(-0.5*%5CEdge%2C-0.5*%5CEdge)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(LR)%20at%20(0.5*%5CEdge%2C-0.5*%5CEdge)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(mid)%20at%20(%24%20(LR)%20%2B%20(%7B%5CEdge*cos(135)%7D%2C%7B%5CEdge*sin(135)%7D)%20%24)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(F)%20at%20(%240.5*(UL)%2B0.5*(LR)%24)%3B%0D%0A%0D%0A%0D%0A%25%E5%A1%97%0D%0A%20%20%20%20%5Cfill%5Bgray%2Csamples%3D100%2Cdomain%3D135%3A180%5D%20(LL)%20--%20(UL)%20--(mid)%20plot%20(%7B%5CEdge%20*cos(%5Cx)%2B%5CLRx%7D%2C%20%7B%5CEdge%20*sin(%5Cx)%20%2B%5CLRy%7D)%3B%0D%0A%0D%0A%25%E7%99%BD%E5%A1%97%0D%0A%20%20%20%20%5Cfill%5Bwhite%2Csamples%3D50%2Cdomain%3D135%3A180%5D%20(LR)%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5CLRx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5CLRy%7D)%20--%20(LR)%3B%0D%0A%0D%0A%20%20%20%20%5Cfill%5Bgray%2Csamples%3D50%2Cdomain%3D90%3A135%5D%20plot%20(%7B%5CEdge%20*cos(%5Cx)%2B%5CLRx%7D%2C%20%7B%5CEdge%20*sin(%5Cx)%20%2B%5CLRy%7D)%20--%20(LR)%3B%0D%0A%0D%0A%0D%0A%20%20%20%20%5Cfill%5Bgray%2Csamples%3D50%2Cdomain%3D180%3A270%5D%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%20%2B%5CURx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%7D)%20--%20(F)%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20%0D%0A%25%E7%99%BD%E5%A1%97%0D%0A%20%20%20%20%5Cfill%5Bwhite%2Csamples%3D50%2Cdomain%3D90%3A180%5D%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5CURx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%7D)%20--%20(LR)%3B%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%25%E7%B7%9A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%5D%20(UL)%20--%20(UR)%20--%20(LR)%20--%20(LL)%20--%20cycle%3B%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%5D%20(UL)%20--%20(LR)%3B%0D%0A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdomain%3D90%3A180%2Csamples%3D100%5D%20plot%20(%7B%5CEdge%20*cos(%5Cx)%2B%5CLRx%7D%2C%20%7B%5CEdge%20*sin(%5Cx)%20%2B%5CLRy%7D)%3B%0D%0A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdomain%3D90%3A270%2Csamples%3D200%5D%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5CURx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%7D)%3B%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%5Cnode%5Babove%20left%5D%20at%20(UL)%20%7BA%7D%3B%0D%0A%5Cnode%5Babove%20right%5D%20at%20(UR)%20%7BD%7D%3B%0D%0A%5Cnode%5Bbelow%20left%5D%20at%20(LL)%20%7BB%7D%3B%0D%0A%5Cnode%5Bbelow%20right%5D%20at%20(LR)%20%7BC%7D%3B%0D%0A%5Cnode%5Babove%5D%20at%20(mid)%20%7BE%7D%3B%0D%0A%5Cnode%5Bright%5D%20at%20(F)%20%7BF%7D%3B%0D%0A%5Cend%7Btikzpicture%7D&f=c&r=300&m=s&b=f&k=f)


```tex
\begin{tikzpicture}

\tikzmath{
\Edge = 5.5;%正方形の1辺
%各頂点の座標
    \ULx=-0.5*\Edge;
    \ULy=0.5*\Edge;
    \LLx=-0.5*\Edge;
    \LLy=-0.5*\Edge;
    \URx=0.5*\Edge;
    \URy=0.5*\Edge;
    \LRx=0.5*\Edge;
    \LRy=-0.5*\Edge;
}


    \coordinate (UL) at (-0.5*\Edge,0.5*\Edge);
    \coordinate (UR) at (0.5*\Edge,0.5*\Edge);
    \coordinate (LL) at (-0.5*\Edge,-0.5*\Edge);
    \coordinate (LR) at (0.5*\Edge,-0.5*\Edge);
    \coordinate (mid) at ($ (LR) + ({\Edge*cos(135)},{\Edge*sin(135)}) $);
    \coordinate (F) at ($0.5*(UL)+0.5*(LR)$);


%塗
    \fill[gray,samples=100,domain=135:180] (LL) -- (UL) --(mid) plot ({\Edge *cos(\x)+\LRx}, {\Edge *sin(\x) +\LRy});

%白塗
    \fill[white,samples=50,domain=135:180] (LR) plot ({0.5*\Edge *cos(\x)+\LRx}, {0.5*\Edge *sin(\x) + \LRy}) -- (LR);

    \fill[gray,samples=50,domain=90:135] plot ({\Edge *cos(\x)+\LRx}, {\Edge *sin(\x) +\LRy}) -- (LR);


    \fill[gray,samples=50,domain=180:270] plot ({0.5*\Edge *cos(\x) +\URx}, {0.5*\Edge *sin(\x)}) -- (F);
    
    
%白塗
    \fill[white,samples=50,domain=90:180] plot ({0.5*\Edge *cos(\x)+\URx}, {0.5*\Edge *sin(\x)}) -- (LR);





%線
    \draw[very thick] (UL) -- (UR) -- (LR) -- (LL) -- cycle;
    \draw[very thick] (UL) -- (LR);

    \draw[very thick,domain=90:180,samples=100] plot ({\Edge *cos(\x)+\LRx}, {\Edge *sin(\x) +\LRy});

    \draw[very thick,domain=90:270,samples=200] plot ({0.5*\Edge *cos(\x)+\URx}, {0.5*\Edge *sin(\x)});




\node[above left] at (UL) {A};
\node[above right] at (UR) {D};
\node[below left] at (LL) {B};
\node[below right] at (LR) {C};
\node[above] at (mid) {E};
\node[right] at (F) {F};
\end{tikzpicture}
```


https://texclip.marutank.net/#s=%5Cusetikzlibrary%7Bmath%2Ccalc%7D%0D%0A%5Cbegin%7Btikzpicture%7D%0D%0A%0D%0A%5Ctikzmath%7B%0D%0A%5CEdge%20%3D%205.5%3B%25%E6%AD%A3%E6%96%B9%E5%BD%A2%E3%81%AE1%E8%BE%BA%0D%0A%25%E5%90%84%E9%A0%82%E7%82%B9%E3%81%AE%E5%BA%A7%E6%A8%99%0D%0A%20%20%20%20%5CULx%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CULy%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLLx%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLLy%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CURx%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CURy%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLRx%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLRy%3D-0.5*%5CEdge%3B%0D%0A%7D%0D%0A%0D%0A%0D%0A%20%20%20%20%5Ccoordinate%20(UL)%20at%20(-0.5*%5CEdge%2C0.5*%5CEdge)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(UR)%20at%20(0.5*%5CEdge%2C0.5*%5CEdge)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(LL)%20at%20(-0.5*%5CEdge%2C-0.5*%5CEdge)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(LR)%20at%20(0.5*%5CEdge%2C-0.5*%5CEdge)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(mid)%20at%20(%24%20(LR)%20%2B%20(%7B%5CEdge*cos(135)%7D%2C%7B%5CEdge*sin(135)%7D)%20%24)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(F)%20at%20(%240.5*(UL)%2B0.5*(LR)%24)%3B%0D%0A%0D%0A%0D%0A%25%E5%A1%97%0D%0A%20%20%20%20%5Cfill%5Bgray%2Csamples%3D100%2Cdomain%3D135%3A180%5D%20(LL)%20--%20(UL)%20--(mid)%20plot%20(%7B%5CEdge%20*cos(%5Cx)%2B%5CLRx%7D%2C%20%7B%5CEdge%20*sin(%5Cx)%20%2B%5CLRy%7D)%3B%0D%0A%0D%0A%25%E7%99%BD%E5%A1%97%0D%0A%20%20%20%20%5Cfill%5Bwhite%2Csamples%3D50%2Cdomain%3D135%3A180%5D%20(LR)%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5CLRx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5CLRy%7D)%20--%20(LR)%3B%0D%0A%0D%0A%20%20%20%20%5Cfill%5Bgray%2Csamples%3D50%2Cdomain%3D90%3A135%5D%20plot%20(%7B%5CEdge%20*cos(%5Cx)%2B%5CLRx%7D%2C%20%7B%5CEdge%20*sin(%5Cx)%20%2B%5CLRy%7D)%20--%20(LR)%3B%0D%0A%0D%0A%0D%0A%20%20%20%20%5Cfill%5Bgray%2Csamples%3D50%2Cdomain%3D180%3A270%5D%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%20%2B%5CURx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%7D)%20--%20(F)%3B%0D%0A%20%20%20%20%0D%0A%20%20%20%20%0D%0A%25%E7%99%BD%E5%A1%97%0D%0A%20%20%20%20%5Cfill%5Bwhite%2Csamples%3D50%2Cdomain%3D90%3A180%5D%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5CURx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%7D)%20--%20(LR)%3B%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%25%E7%B7%9A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%5D%20(UL)%20--%20(UR)%20--%20(LR)%20--%20(LL)%20--%20cycle%3B%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%5D%20(UL)%20--%20(LR)%3B%0D%0A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdomain%3D90%3A180%2Csamples%3D100%5D%20plot%20(%7B%5CEdge%20*cos(%5Cx)%2B%5CLRx%7D%2C%20%7B%5CEdge%20*sin(%5Cx)%20%2B%5CLRy%7D)%3B%0D%0A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdomain%3D90%3A270%2Csamples%3D200%5D%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5CURx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%7D)%3B%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%5Cnode%5Babove%20left%5D%20at%20(UL)%20%7BA%7D%3B%0D%0A%5Cnode%5Babove%20right%5D%20at%20(UR)%20%7BD%7D%3B%0D%0A%5Cnode%5Bbelow%20left%5D%20at%20(LL)%20%7BB%7D%3B%0D%0A%5Cnode%5Bbelow%20right%5D%20at%20(LR)%20%7BC%7D%3B%0D%0A%5Cnode%5Babove%5D%20at%20(mid)%20%7BE%7D%3B%0D%0A%5Cnode%5Bright%5D%20at%20(F)%20%7BF%7D%3B%0D%0A%5Cend%7Btikzpicture%7D




![](https://texclip.marutank.net/render.php/texclip20230701022759.svg?s=%5Cusetikzlibrary%7Bmath%2Ccalc%7D%0D%0A%5Cbegin%7Btikzpicture%7D%0D%0A%5Ctikzmath%7B%0D%0A%5CEdge%20%3D%205.5%3B%25%E6%AD%A3%E6%96%B9%E5%BD%A2%E3%81%AE1%E8%BE%BA%0D%0A%25%E5%90%84%E9%A0%82%E7%82%B9%E3%81%AE%E5%BA%A7%E6%A8%99%0D%0A%20%20%20%20%5CULx%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CULy%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLLx%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLLy%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CURx%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CURy%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLRx%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLRy%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5Cleftmidx%3D%20-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5Cleftmidy%3D%200%3B%0D%0A%20%20%20%20%5Cbelowmidx%3D%200%3B%0D%0A%20%20%20%20%5Cbelowmidy%3D%20-0.5*%5CEdge%3B%0D%0A%7D%0D%0A%0D%0A%0D%0A%20%20%20%20%5Ccoordinate%20(UL)%20at%20(%5CULx%2C%5CULy)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(UR)%20at%20(%5CURx%2C%5CURy)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(LL)%20at%20(%5CLLx%2C%5CLLy)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(LR)%20at%20(%5CLRx%2C%5CLRy)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(leftmid)%20at%20(%5Cleftmidx%2C%5Cleftmidy)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(belowmid)%20at%20(%5Cbelowmidx%2C%5Cbelowmidy)%3B%0D%0A%0D%0A%0D%0A%25%E5%A1%97%0D%0A%20%20%20%20%5Cfill%5Bgray%2Csamples%3D100%2Cdomain%3D0%3A90%5D%20(LL)%20--%20plot%20(%7B%5CEdge%20*cos(%5Cx)%2B%5CLLx%7D%2C%20%7B%5CEdge%20*sin(%5Cx)%20%2B%5CLLy%7D)%3B%0D%0A%0D%0A%25%E7%99%BD%E5%A1%97%0D%0A%20%20%20%20%5Cfill%5Bwhite%2Csamples%3D100%2Cdomain%3D0%3A90%5D%20(leftmid)%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5Cleftmidx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5Cleftmidy%7D)%20--%20(LL)%20plot%20(%7B-0.5*%5CEdge%20*cos(%5Cx)%2B%5Cbelowmidx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5Cbelowmidy%7D)%3B%0D%0A%0D%0A%20%20%20%20%5Cfill%5Bwhite%2Csamples%3D100%2Cdomain%3D0%3A90%5D%20(LL)%20--%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5Cbelowmidx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5Cbelowmidy%7D)%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5Cleftmidx%7D%2C%20%7B-0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5Cleftmidy%7D)%3B%0D%0A%20%20%20%20%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%25%E7%B7%9A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%5D%20(UL)%20--%20(UR)%20--%20(LR)%20--%20(LL)%20--%20cycle%3B%0D%0A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdomain%3D0%3A90%2Csamples%3D100%5D%20plot%20(%7B%5CEdge%20*cos(%5Cx)%2B%5CLLx%7D%2C%20%7B%5CEdge%20*sin(%5Cx)%20%2B%5CLLy%7D)%3B%0D%0A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdomain%3D0%3A180%2Csamples%3D200%5D%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5Cbelowmidx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5Cbelowmidy%7D)%3B%0D%0A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdomain%3D-90%3A90%2Csamples%3D200%5D%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5Cleftmidx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5Cleftmidy%7D)%3B%0D%0A%0D%0A%25%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdashed%5D%20(%240.5*(UL)%2B0.5*(LR)%24)%20--%20(LL)%3B%0D%0A%25%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdashed%5D%20(UL)%20--%20(LR)%3B%0D%0A%0D%0A%0D%0A%25%5Cnode%5Babove%20left%5D%20at%20(UL)%20%7BA%7D%3B%0D%0A%25%5Cnode%5Babove%20right%5D%20at%20(UR)%20%7BD%7D%3B%0D%0A%25%5Cnode%5Bbelow%20left%5D%20at%20(LL)%20%7BB%7D%3B%0D%0A%25%5Cnode%5Bbelow%20right%5D%20at%20(LR)%20%7BC%7D%3B%0D%0A%25%5Cnode%5Babove%5D%20at%20(leftmid)%20%7BE%7D%3B%0D%0A%25%5Cnode%5Bright%5D%20at%20(belowmid)%20%7BF%7D%3B%0D%0A%5Cend%7Btikzpicture%7D&f=c&r=300&m=s&b=f&k=f)



```tex
\begin{tikzpicture}

\tikzmath{
\Edge = 5.5;%正方形の1辺
%各頂点の座標
    \ULx=-0.5*\Edge;
    \ULy=0.5*\Edge;
    \LLx=-0.5*\Edge;
    \LLy=-0.5*\Edge;
    \URx=0.5*\Edge;
    \URy=0.5*\Edge;
    \LRx=0.5*\Edge;
    \LRy=-0.5*\Edge;
    \leftmidx= -0.5*\Edge;
    \leftmidy= 0;
    \belowmidx= 0;
    \belowmidy= -0.5*\Edge;
}


    \coordinate (UL) at (\ULx,\ULy);
    \coordinate (UR) at (\URx,\URy);
    \coordinate (LL) at (\LLx,\LLy);
    \coordinate (LR) at (\LRx,\LRy);
    \coordinate (leftmid) at (\leftmidx,\leftmidy);
    \coordinate (belowmid) at (\belowmidx,\belowmidy);


%塗
    \fill[gray,samples=100,domain=0:90] (LL) -- plot ({\Edge *cos(\x)+\LLx}, {\Edge *sin(\x) +\LLy});

%白塗
    \fill[white,samples=100,domain=0:90] (leftmid) plot ({0.5*\Edge *cos(\x)+\leftmidx}, {0.5*\Edge *sin(\x) + \leftmidy}) -- (LL) plot ({-0.5*\Edge *cos(\x)+\belowmidx}, {0.5*\Edge *sin(\x) + \belowmidy});

    \fill[white,samples=100,domain=0:90] (LL) -- plot ({0.5*\Edge *cos(\x)+\belowmidx}, {0.5*\Edge *sin(\x) + \belowmidy}) plot ({0.5*\Edge *cos(\x)+\leftmidx}, {-0.5*\Edge *sin(\x) + \leftmidy});
    





%線
    \draw[very thick] (UL) -- (UR) -- (LR) -- (LL) -- cycle;

    \draw[very thick,domain=0:90,samples=100] plot ({\Edge *cos(\x)+\LLx}, {\Edge *sin(\x) +\LLy});

    \draw[very thick,domain=0:180,samples=200] plot ({0.5*\Edge *cos(\x)+\belowmidx}, {0.5*\Edge *sin(\x) + \belowmidy});

    \draw[very thick,domain=-90:90,samples=200] plot ({0.5*\Edge *cos(\x)+\leftmidx}, {0.5*\Edge *sin(\x) + \leftmidy});

%    \draw[very thick,dashed] ($0.5*(UL)+0.5*(LR)$) -- (LL);
%    \draw[very thick,dashed] (UL) -- (LR);


%\node[above left] at (UL) {A};
%\node[above right] at (UR) {D};
%\node[below left] at (LL) {B};
%\node[below right] at (LR) {C};
%\node[above] at (leftmid) {E};
%\node[right] at (belowmid) {F};
\end{tikzpicture}
\end{preview}
```
https://texclip.marutank.net/#s=%5Cusetikzlibrary%7Bmath%2Ccalc%7D%0D%0A%5Cbegin%7Btikzpicture%7D%0D%0A%5Ctikzmath%7B%0D%0A%5CEdge%20%3D%205.5%3B%25%E6%AD%A3%E6%96%B9%E5%BD%A2%E3%81%AE1%E8%BE%BA%0D%0A%25%E5%90%84%E9%A0%82%E7%82%B9%E3%81%AE%E5%BA%A7%E6%A8%99%0D%0A%20%20%20%20%5CULx%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CULy%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLLx%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLLy%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CURx%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CURy%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLRx%3D0.5*%5CEdge%3B%0D%0A%20%20%20%20%5CLRy%3D-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5Cleftmidx%3D%20-0.5*%5CEdge%3B%0D%0A%20%20%20%20%5Cleftmidy%3D%200%3B%0D%0A%20%20%20%20%5Cbelowmidx%3D%200%3B%0D%0A%20%20%20%20%5Cbelowmidy%3D%20-0.5*%5CEdge%3B%0D%0A%7D%0D%0A%0D%0A%0D%0A%20%20%20%20%5Ccoordinate%20(UL)%20at%20(%5CULx%2C%5CULy)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(UR)%20at%20(%5CURx%2C%5CURy)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(LL)%20at%20(%5CLLx%2C%5CLLy)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(LR)%20at%20(%5CLRx%2C%5CLRy)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(leftmid)%20at%20(%5Cleftmidx%2C%5Cleftmidy)%3B%0D%0A%20%20%20%20%5Ccoordinate%20(belowmid)%20at%20(%5Cbelowmidx%2C%5Cbelowmidy)%3B%0D%0A%0D%0A%0D%0A%25%E5%A1%97%0D%0A%20%20%20%20%5Cfill%5Bgray%2Csamples%3D100%2Cdomain%3D0%3A90%5D%20(LL)%20--%20plot%20(%7B%5CEdge%20*cos(%5Cx)%2B%5CLLx%7D%2C%20%7B%5CEdge%20*sin(%5Cx)%20%2B%5CLLy%7D)%3B%0D%0A%0D%0A%25%E7%99%BD%E5%A1%97%0D%0A%20%20%20%20%5Cfill%5Bwhite%2Csamples%3D100%2Cdomain%3D0%3A90%5D%20(leftmid)%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5Cleftmidx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5Cleftmidy%7D)%20--%20(LL)%20plot%20(%7B-0.5*%5CEdge%20*cos(%5Cx)%2B%5Cbelowmidx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5Cbelowmidy%7D)%3B%0D%0A%0D%0A%20%20%20%20%5Cfill%5Bwhite%2Csamples%3D100%2Cdomain%3D0%3A90%5D%20(LL)%20--%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5Cbelowmidx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5Cbelowmidy%7D)%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5Cleftmidx%7D%2C%20%7B-0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5Cleftmidy%7D)%3B%0D%0A%20%20%20%20%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%0D%0A%25%E7%B7%9A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%5D%20(UL)%20--%20(UR)%20--%20(LR)%20--%20(LL)%20--%20cycle%3B%0D%0A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdomain%3D0%3A90%2Csamples%3D100%5D%20plot%20(%7B%5CEdge%20*cos(%5Cx)%2B%5CLLx%7D%2C%20%7B%5CEdge%20*sin(%5Cx)%20%2B%5CLLy%7D)%3B%0D%0A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdomain%3D0%3A180%2Csamples%3D200%5D%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5Cbelowmidx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5Cbelowmidy%7D)%3B%0D%0A%0D%0A%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdomain%3D-90%3A90%2Csamples%3D200%5D%20plot%20(%7B0.5*%5CEdge%20*cos(%5Cx)%2B%5Cleftmidx%7D%2C%20%7B0.5*%5CEdge%20*sin(%5Cx)%20%2B%20%5Cleftmidy%7D)%3B%0D%0A%0D%0A%25%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdashed%5D%20(%240.5*(UL)%2B0.5*(LR)%24)%20--%20(LL)%3B%0D%0A%25%20%20%20%20%5Cdraw%5Bvery%20thick%2Cdashed%5D%20(UL)%20--%20(LR)%3B%0D%0A%0D%0A%0D%0A%25%5Cnode%5Babove%20left%5D%20at%20(UL)%20%7BA%7D%3B%0D%0A%25%5Cnode%5Babove%20right%5D%20at%20(UR)%20%7BD%7D%3B%0D%0A%25%5Cnode%5Bbelow%20left%5D%20at%20(LL)%20%7BB%7D%3B%0D%0A%25%5Cnode%5Bbelow%20right%5D%20at%20(LR)%20%7BC%7D%3B%0D%0A%25%5Cnode%5Babove%5D%20at%20(leftmid)%20%7BE%7D%3B%0D%0A%25%5Cnode%5Bright%5D%20at%20(belowmid)%20%7BF%7D%3B%0D%0A%5Cend%7Btikzpicture%7D