Octagon

Author

Eric W. Weisstein
July 3, 2018

This notebook downloaded from http://mathworld.wolfram.com/notebooks/Polygons/Octagon.nb.

For more information, see Eric's MathWorld entry http://mathworld.wolfram.com/Octagon.html.

©2018 Wolfram Research, Inc. except for portions noted otherwise

Examples

laminae=Select[EntityList[EntityClass["Lamina","Polygon"]],#["VertexCount"]==8&]

Show[#,PlotLabel->#2]&@@@EntityValue[laminae,{"Graphics","Name"}]

Figure

polys={
Polygon[(Entity["regular octagon", Entity["Lamina","FilledRegularOctagon"], "Entity[\"Lamina\", \"FilledRegularOctagon\"]", "lamina"])["Vertices"][1]]->"regular octagon",
Polygon[(Entity["square T\[Hyphen]beam", Entity["Lamina","SquareTBeam"], "Entity[\"Lamina\", \"SquareTBeam\"]", "lamina"])["Vertices"][1,1.2,1,.2]]->"T\[Hyphen]beam",
Polygon[(Entity["square channel", Entity["Lamina","SquareChannel"], "Entity[\"Lamina\", \"SquareChannel\"]", "lamina"])["Vertices"][.2,1,.8,1.2]]->"square channel",
Polygon[{{0,-1},{1,1},{2,-1},{3,1},{3,-1},{2,1},{1,-1},{0,1}}]->"butterfly octagon",
{Polygon[CirclePoints[.5,4]],Polygon[CirclePoints[4]]}->"square annulus"
};

GraphicsGrid[Partition[
Graphics[{EdgeForm[Black],FaceForm[None],#},PlotLabel->Style[TextCell[#2,PageWidth->100,PageWidth->100],Directive[Italic,FontFamily->"Times"]]]&@@@polys,UpTo[3]],Spacings->50,ImageSize->500]