利用多边形与五角星绘制缅甸国旗的几何作图
2019-09-06 06:37
本范例展示了如何使用 GeoGebra 的多边形(Polygon)命令和几何构造方法绘制缅甸国旗。通过定义顶点坐标和线段,精确构建国旗的条纹区域以及中心的白色五角星。该案例将几何作图与实际图形设计相结合,演示了多边形区域填充和五角星几何性质的应用,适合用于平面几何与坐标几何的教学与演示。
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.546.0" app="classic" platform="d" id="d676c2db-a9b4-4038-a6d8-83a5ae0c2abc" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1047" height="790" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.19484240687679083" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="true" stylebar="true" location="1,1,1,1" size="400" window="483,367,1128,997" />
<view id="512" toolbar="0 | 1 501 5 19 , 67 | 2 15 45 18 , 7 37 | 514 3 9 , 13 44 , 47 | 16 | 551 550 11 , 20 22 21 23 , 55 56 57 , 12 | 69 | 510 511 , 512 513 | 533 531 , 534 532 , 522 523 , 537 536 , 535 | 521 520 | 36 , 38 49 560 | 571 30 29 570 31 33 | 17 | 540 40 41 42 , 27 28 35 , 6 , 502" visible="false" inframe="false" stylebar="false" location="1,1,1" size="500" window="100,100,600,400" />
<view id="4" toolbar="0 || 2020 , 2021 , 2022 , 66 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="true" location="1,1" size="300" window="100,100,600,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 1009 || 66 68 || 6" visible="false" inframe="false" stylebar="false" location="1,3" size="300" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="true" location="1" size="805" window="100,100,600,400" />
<view id="2" visible="true" inframe="false" stylebar="true" location="3" size="204" window="100,100,600,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="298" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
</views>
<toolbar show="true" items="0 39 73 62 | 1 501 67 , 5 19 , 72 75 76 | 2 15 45 , 18 65 , 7 37 | 4 3 8 9 , 13 44 , 58 , 47 | 16 51 64 , 70 | 10 34 53 11 , 24 20 22 , 21 23 | 55 56 57 , 12 | 36 46 , 38 49 50 , 71 14 68 | 30 29 54 32 31 33 | 25 17 26 60 52 61 | 40 41 42 , 27 28 35 , 6 | | 100001" position="1" help="false" />
<input show="true" cmd="true" top="algebra" />
<dockBar show="true" east="true" />
</perspective>
</perspectives>
<labelingStyle val="0"/>
<font size="18"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="805" height="541"/>
<coordSystem xZero="111.59863086848284" yZero="466.4258415036228" scale="31.04606615295773" yscale="31.046066152957646"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="3"/>
<bgColor r="255" g="255" b="255"/>
<axesColor r="0" g="0" b="0"/>
<gridColor r="192" g="192" b="192"/>
<lineStyle axes="1" grid="0"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<algebraView>
<mode val="1"/>
<collapsed val="3"/>
</algebraView>
<kernel>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0" spreadsheet="0"/>
<coordStyle val="0"/>
</kernel>
<tableview min="-2.0" max="2.0" step="1.0"/>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<command name="Polygon">
<input a0="(0, 0)" a1="(18, 0)" a2="(18, 4)" a3="(0, 4)"/>
<output a0="q1" a1="f" a2="g" a3="h" a4="i"/>
</command>
<element type="polygon" label="q1">
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<show object="true" label="false" ev="4"/>
<objColor r="234" g="40" b="57" alpha="1.0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="segment" label="f">
<show object="true" label="false" ev="4"/>
<objColor r="234" g="40" b="57" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0.0" y="18.0" z="0.0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="g">
<show object="true" label="false" ev="4"/>
<objColor r="234" g="40" b="57" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="-4.0" y="0.0" z="72.0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="h">
<show object="true" label="false" ev="4"/>
<objColor r="234" g="40" b="57" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0.0" y="-18.0" z="72.0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="i">
<show object="true" label="false" ev="4"/>
<objColor r="234" g="40" b="57" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="4.0" y="0.0" z="0.0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Polygon">
<input a0="(0, 8)" a1="(18, 8)" a2="(18, 12)" a3="(0, 12)"/>
<output a0="q3" a1="n" a2="p" a3="q" a4="r"/>
</command>
<element type="polygon" label="q3">
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<show object="true" label="false" ev="4"/>
<objColor r="254" g="203" b="0" alpha="1.0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="segment" label="n">
<show object="true" label="false" ev="4"/>
<objColor r="254" g="203" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0.0" y="18.0" z="-144.0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="p">
<show object="true" label="false" ev="4"/>
<objColor r="254" g="203" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="-4.0" y="0.0" z="72.0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="q">
<show object="true" label="false" ev="4"/>
<objColor r="254" g="203" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0.0" y="-18.0" z="216.0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="r">
<show object="true" label="false" ev="4"/>
<objColor r="254" g="203" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="4.0" y="0.0" z="0.0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Polygon">
<input a0="(0, 4)" a1="(18, 4)" a2="(18, 8)" a3="(0, 8)"/>
<output a0="q2" a1="j" a2="k" a3="l" a4="m"/>
</command>
<element type="polygon" label="q2">
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<show object="true" label="false" ev="4"/>
<objColor r="52" g="178" b="51" alpha="1.0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="segment" label="j">
<show object="true" label="false" ev="4"/>
<objColor r="52" g="178" b="51" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0.0" y="18.0" z="-72.0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="k">
<show object="true" label="false" ev="4"/>
<objColor r="52" g="178" b="51" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="-4.0" y="0.0" z="72.0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="l">
<show object="true" label="false" ev="4"/>
<objColor r="52" g="178" b="51" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0.0" y="-18.0" z="144.0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="m">
<show object="true" label="false" ev="4"/>
<objColor r="52" g="178" b="51" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="4.0" y="0.0" z="0.0"/>
<lineStyle thickness="0" type="0" typeHidden="1" opacity="0"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<expression label="A" exp="(9, 6)" type="point"/>
<element type="point" label="A">
<show object="false" label="true" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="9.0" y="6.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<expression label="B" exp="A + ((sqrt(5) + 3) * (cos(18°), sin(18°)))" type="point" />
<element type="point" label="B">
<show object="false" label="true" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="13.979796569765561" y="7.618033988749895" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="五角星区域">
<input a0="A" a1="B"/>
<output a0="poly1"/>
</command>
<element type="polygon" label="poly1">
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<show object="true" label="false" ev="4"/>
<objColor r="255" g="255" b="255" alpha="1.0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
</construction>
</geogebra>