三维立体图形的截面探究
2020-12-27 16:14
本范例展示了三维立体图形(如四面体或金字塔)的截面构造过程。通过定义顶点、边和面,利用相交命令生成截面多边形,并动态调整截面位置与透明度,直观呈现立体几何中平面与立体相交的截面形状及其几何特征。
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.620.0" app="classic" platform="offline" id="1DD3029C-68B3-473F-B6C9-96631FE5A8A4" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/apps/xsd/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="1522" height="787" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.24967148488830487" orientation="1" />
<pane location="1" divider="0.507227332457293" orientation="1" />
</panes>
<views>
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 || 1008 | 1009 || 6" visible="false" inframe="false" stylebar="false" location="1,3,3" size="300" window="100,100,600,400" />
<view id="4097" visible="true" inframe="false" stylebar="true" location="1,1" size="354" window="100,100,700,550" />
<view id="512" toolbar="0 | 1 501 5 19 67 | 2 15 45 18 7 37 | 514 3 9 13 44 47 | 16 51 | 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 538 | 521 520 | 36 38 49 560 | 571 30 29 570 31 33 | 25 | 17 | 540 40 41 42 27 28 35 6 502" visible="true" inframe="false" stylebar="true" location="1,3" size="772" window="100,100,600,400" />
<view id="1" visible="false" inframe="false" stylebar="true" location="3" size="488" window="100,100,600,400" />
<view id="4" toolbar="0 || 2020 , 2021 , 2022 || 2001 , 2003 , 2002 , 2004 , 2005 || 2040 , 2041 , 2042 , 2044 , 2043" visible="false" inframe="false" stylebar="false" location="1" size="292" window="100,100,600,400" />
<view id="2" visible="true" inframe="false" stylebar="false" location="3" size="380" tab="ALGEBRA" window="100,100,250,400" />
<view id="16" visible="false" inframe="false" stylebar="false" location="1" size="300" window="50,50,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="300" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="false" stylebar="false" location="1" size="472" window="50,50,500,500" />
<view id="128" visible="false" inframe="false" stylebar="false" location="1" size="480" window="50,50,500,500" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" stylebar="true" location="1" size="900" window="50,50,500,500" />
</views>
<toolbar show="true" items="0 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" position="1" help="false" />
<input show="true" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="16"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="488" height="733"/>
<coordSystem xZero="250" yZero="366.5" scale="50" yscale="49.99999999999998"/>
<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>
<spreadsheetView>
<size width="0" height="0"/>
<prefCellSize width="70" height="23"/>
<selection hScroll="0" vScroll="0" column="-1" row="-1"/>
</spreadsheetView>
<probabilityCalculator>
<distribution type="0" isCumulative="false" parameters="0,1"/>
<interval mode="0" low="-1" high="1"/>
<statisticsCollection procedure="ZMEAN_TEST" mean="NaN" sd="NaN" n="NaN" count="NaN" mean2="NaN" sd2="NaN" n2="NaN" count2="NaN" nullHyp="NaN" level="0.95" tail="undefined" active="false" showExpected="false" showDiff="false" showRowPercent="false" showColPercent="false" columns="5"><entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
<entry val=""/>
</statisticsCollection></probabilityCalculator>
<algebraView>
<mode val="1"/>
<collapsed val="1,3,5"/>
</algebraView>
<kernel>
<uses3D val="true"/>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="3" spreadsheet="0"/>
<coordStyle val="0"/>
</kernel>
<tableview min="-2" max="2" step="1"/>
<scripting blocked="false" disabled="false"/>
<euclidianView3D>
<coordSystem xZero="0" yZero="0" zZero="-1.5" scale="50" xAngle="17" zAngle="-1542.0814374115198"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" gridType="3"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="2" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<plate show="false"/>
<bgColor r="255" g="255" b="255"/>
<clipping use="false" show="false" size="1"/>
<projection type="0"/>
</euclidianView3D>
<construction title="" author="" date="">
<command name="Intersect">
<input a0="yAxis" a1="xAxis"/>
<output a0="A"/>
</command>
<element type="point" label="A">
<show object="true" label="true" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="0" y="0" z="1"/>
<coordStyle style="cartesian3d"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Point">
<input a0="yAxis"/>
<output a0="B"/>
</command>
<element type="point" label="B">
<show object="true" label="true" ev="4"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="0" y="4" z="1"/>
<coordStyle style="cartesian3d"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Point">
<input a0="xAxis"/>
<output a0="C"/>
</command>
<element type="point" label="C">
<show object="true" label="true" ev="4"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="4" y="0" z="1"/>
<coordStyle style="cartesian3d"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Point">
<input a0="zAxis"/>
<output a0="D"/>
</command>
<element type="point3d" label="D">
<show object="true" label="true" ev="4"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="0" y="0" z="4" w="1"/>
<pointSize val="5"/>
</element>
<command name="Pyramid">
<input a0="A" a1="B" a2="C" a3="D"/>
<output a0="a" a1="faceABC" a2="faceABD" a3="faceBCD" a4="faceACD" a5="edgeAB" a6="edgeBC" a7="edgeAC" a8="edgeAD" a9="edgeBD" a10="edgeCD"/>
</command>
<element type="polyhedron" label="a">
<lineStyle thickness="5" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<objColor r="219" g="97" b="20" alpha="0.3" dynamicr="143" dynamicg="139" dynamicb="239" dynamica="opacity" colorSpace="0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="polygon3d" label="faceABC">
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<show object="true" label="false" ev="4"/>
<objColor r="219" g="97" b="20" alpha="0.3" dynamicr="143" dynamicg="139" dynamicb="239" dynamica="opacity" colorSpace="0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="polygon3d" label="faceABD">
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<show object="true" label="false" ev="4"/>
<objColor r="219" g="97" b="20" alpha="0.3" dynamicr="143" dynamicg="139" dynamicb="239" dynamica="opacity" colorSpace="0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="polygon3d" label="faceBCD">
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<show object="true" label="false" ev="4"/>
<objColor r="219" g="97" b="20" alpha="0.3" dynamicr="143" dynamicg="139" dynamicb="239" dynamica="opacity" colorSpace="0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="polygon3d" label="faceACD">
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<show object="true" label="false" ev="4"/>
<objColor r="219" g="97" b="20" alpha="0.3" dynamicr="143" dynamicg="139" dynamicb="239" dynamica="opacity" colorSpace="0"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="segment3d" label="edgeAB">
<show object="true" label="false" ev="4"/>
<objColor r="219" g="97" b="20" alpha="0.3" dynamicr="143" dynamicg="139" dynamicb="239" dynamica="opacity" colorSpace="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeBC">
<show object="true" label="false" ev="4"/>
<objColor r="219" g="97" b="20" alpha="0.3" dynamicr="143" dynamicg="139" dynamicb="239" dynamica="opacity" colorSpace="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeAC">
<show object="true" label="false" ev="4"/>
<objColor r="219" g="97" b="20" alpha="0.3" dynamicr="143" dynamicg="139" dynamicb="239" dynamica="opacity" colorSpace="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeAD">
<show object="true" label="false" ev="4"/>
<objColor r="219" g="97" b="20" alpha="0.3" dynamicr="143" dynamicg="139" dynamicb="239" dynamica="opacity" colorSpace="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeBD">
<show object="true" label="false" ev="4"/>
<objColor r="219" g="97" b="20" alpha="0.3" dynamicr="143" dynamicg="139" dynamicb="239" dynamica="opacity" colorSpace="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeCD">
<show object="true" label="false" ev="4"/>
<objColor r="219" g="97" b="20" alpha="0.3" dynamicr="143" dynamicg="139" dynamicb="239" dynamica="opacity" colorSpace="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Point">
<input a0="edgeAD"/>
<output a0="E"/>
</command>
<element type="point3d" label="E">
<show object="true" label="true" ev="4"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="0" y="0" z="2.6227349258509127" w="1"/>
<pointSize val="5"/>
</element>
<command name="Point">
<input a0="edgeBD"/>
<output a0="F"/>
</command>
<element type="point3d" label="F">
<show object="true" label="true" ev="4"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="76" y="-26"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="0" y="2.1926102983161506" z="1.8073897016838494" w="1"/>
<pointSize val="5"/>
</element>
<command name="Point">
<input a0="edgeCD"/>
<output a0="G"/>
</command>
<element type="point3d" label="G">
<show object="true" label="true" ev="4"/>
<objColor r="125" g="125" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="2.162798683788794" y="0" z="1.837201316211206" w="1"/>
<pointSize val="5"/>
</element>
<command name="Polygon">
<input a0="E" a1="F" a2="G"/>
<output a0="t1" a1="g" a2="e" a3="f"/>
</command>
<element type="polygon3d" label="t1">
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<show object="true" label="false" ev="4"/>
<objColor r="102" g="204" b="0" alpha="1"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="segment3d" label="g">
<show object="true" label="false" ev="4"/>
<objColor r="102" g="204" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="e">
<show object="true" label="false" ev="4"/>
<objColor r="102" g="204" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="f">
<show object="true" label="false" ev="4"/>
<objColor r="102" g="204" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<lineStyle thickness="5" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="numeric" label="opacity">
<value val="0.3"/>
<show object="true" label="true"/>
<objColor r="0" g="0" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<slider min="0" max="1" absoluteScreenLocation="true" width="200" x="746" y="293" fixed="false" horizontal="true" showAlgebra="true"/>
<lineStyle thickness="10" type="0" typeHidden="1"/>
<animation speed="1" type="0" playing="false"/>
<ggbscript onUpdate="SetDynamicColor( a, 143,139,239, opacity);

"/>
</element>
</construction>
</geogebra>