Filling a Special Area: Polygon Coverage and Area Demonstration
2014-01-08 14:02
This GeoGebra example demonstrates how to cover and fill a specific geometric area using polygons of different colors. By combining geometric objects such as circle arcs, polygons, and segments, it showcases drafting techniques for region partition and area filling in plane geometry, suitable for exploring polygon area and geometric construction.
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="4.4" version="4.4.6.0" id="21143925-eb18-4dc6-9831-ae9e1e47e746" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1366" height="720" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.15080527086383602" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="true" stylebar="true" location="1,1,1" size="400" window="333,85,700,550" />
<view id="4" toolbar="0 59 || 2020 , 2021 , 2022 , 66 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="true" location="1,1" size="518" window="100,100,600,400" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 | 1011 || 1008 1009 || 66 68 || 6" visible="false" inframe="false" stylebar="false" location="1,3" size="373" window="100,100,600,400" />
<view id="1" visible="true" inframe="false" stylebar="true" location="1" size="1126" window="383,160,600,400" />
<view id="2" visible="true" inframe="false" stylebar="true" location="3" size="206" window="100,100,250,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="140" window="50,50,500,500" />
<view id="64" 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 59 | 1 501 67 , 5 19 , 72 | 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 | 30 29 54 32 31 33 | 17 26 62 73 , 14 66 68 | 25 52 60 61 | 40 41 42 , 27 28 35 , 6" position="1" help="true" />
<input show="true" cmd="true" top="false" />
<dockBar show="true" east="true" />
</perspective>
</perspectives>
<labelingStyle val="0"/>
<font size="16"/>
<graphicsSettings javaLatexFonts="false"/>
</gui>
<euclidianView>
<size width="1126" height="504"/>
<coordSystem xZero="143.14555991876114" yZero="434.2782833863674" scale="91.69387318277822" yscale="91.6938745497887"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" checkboxSize="26" gridType="0"/>
<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="10"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<kernel>
<continuous val="true"/>
<usePathAndRegionParameters val="true"/>
<decimals val="3"/>
<angleUnit val="degree"/>
<algebraStyle val="0"/>
<coordStyle val="0"/>
<angleFromInvTrig val="false"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<element type="point" label="A">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="0.0" y="0.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="B">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="4.0" y="0.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="C">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="0.0" y="4.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<element type="point" label="D">
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="4.0" y="4.0" z="1.0"/>
<pointSize val="3"/>
<pointStyle val="0"/>
</element>
<command name="CircleArc">
<input a0="B" a1="D" a2="A"/>
<output a0="c"/>
</command>
<element type="conicpart" label="c">
<show object="true" label="false"/>
<objColor r="255" g="255" b="255" alpha="1.0"/>
<layer val="2"/>
<labelMode val="0"/>
<lineStyle thickness="1" type="0" typeHidden="1"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="0.0" A3="0.0" A4="-4.0" A5="-0.0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="CircleArc">
<input a0="A" a1="B" a2="C"/>
<output a0="d"/>
</command>
<element type="conicpart" label="d">
<show object="true" label="false"/>
<objColor r="255" g="255" b="255" alpha="1.0"/>
<layer val="2"/>
<labelMode val="0"/>
<lineStyle thickness="1" type="0" typeHidden="1"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="-16.0" A3="0.0" A4="-0.0" A5="-0.0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Polygon">
<input a0="A" a1="B" a2="D" a3="C"/>
<output a0="多边形1" a1="a" a2="b" a3="d_1" a4="c_1"/>
</command>
<element type="polygon" label="多边形1">
<lineStyle thickness="0" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.5"/>
<layer val="2"/>
<labelMode val="0"/>
</element>
<element type="segment" label="a">
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0.0" y="4.0" z="0.0"/>
<lineStyle thickness="0" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="b">
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="-4.0" y="0.0" z="16.0"/>
<lineStyle thickness="0" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="d_1">
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0.0" y="-4.0" z="16.0"/>
<lineStyle thickness="0" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="c_1">
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="4.0" y="0.0" z="0.0"/>
<lineStyle thickness="0" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Polygon">
<input a0="C" a1="B" a2="A"/>
<output a0="多边形2" a1="a_1" a2="c_2" a3="b_1"/>
</command>
<element type="polygon" label="多边形2">
<lineStyle thickness="3" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<objColor r="255" g="255" b="255" alpha="1.0"/>
<layer val="2"/>
<labelMode val="0"/>
</element>
<element type="segment" label="a_1">
<show object="true" label="false"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="4.0" y="4.0" z="-16.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="c_2">
<show object="true" label="false"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0.0" y="-4.0" z="0.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="b_1">
<show object="true" label="false"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="-4.0" y="0.0" z="0.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Polygon">
<input a0="D" a1="B" a2="A"/>
<output a0="多边形3" a1="a_2" a2="d_2" a3="b_2"/>
</command>
<element type="polygon" label="多边形3">
<lineStyle thickness="3" type="0" typeHidden="1"/>
<show object="true" label="false"/>
<objColor r="255" g="255" b="255" alpha="1.0"/>
<layer val="2"/>
<labelMode val="0"/>
</element>
<element type="segment" label="a_2">
<show object="true" label="false"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="4.0" y="0.0" z="-16.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="d_2">
<show object="true" label="false"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="0.0" y="-4.0" z="0.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="b_2">
<show object="true" label="false"/>
<objColor r="255" g="255" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="-4.0" y="4.0" z="0.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="A" a1="B"/>
<output a0="e"/>
</command>
<element type="segment" label="e">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<coords x="0.0" y="4.0" z="0.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="B" a1="D"/>
<output a0="f"/>
</command>
<element type="segment" label="f">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<coords x="-4.0" y="0.0" z="16.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="D" a1="C"/>
<output a0="g"/>
</command>
<element type="segment" label="g">
<show object="true" label="false"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<coords x="0.0" y="-4.0" z="16.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Segment">
<input a0="C" a1="A"/>
<output a0="h"/>
</command>
<element type="segment" label="h">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<coords x="4.0" y="0.0" z="0.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="CircleArc">
<input a0="A" a1="B" a2="C"/>
<output a0="k"/>
</command>
<element type="conicpart" label="k">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="-16.0" A3="0.0" A4="-0.0" A5="-0.0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="CircleArc">
<input a0="B" a1="D" a2="A"/>
<output a0="p"/>
</command>
<element type="conicpart" label="p">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="0.0" A3="0.0" A4="-4.0" A5="-0.0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="CircleArc">
<input a0="C" a1="A" a2="D"/>
<output a0="q"/>
</command>
<element type="conicpart" label="q">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="0.0" A3="0.0" A4="-0.0" A5="-4.0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="CircleArc">
<input a0="D" a1="C" a2="B"/>
<output a0="r"/>
</command>
<element type="conicpart" label="r">
<show object="true" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="2"/>
<labelMode val="0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<eigenvectors x0="1.0" y0="0.0" z0="1.0" x1="-0.0" y1="1.0" z1="1.0"/>
<matrix A0="1.0" A1="1.0" A2="16.0" A3="0.0" A4="-4.0" A5="-4.0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
</construction>
</geogebra>