3D Prism Geometric Construction
2020-11-09 02:05
This GeoGebra example demonstrates the construction of a prism in three-dimensional space. Using the Polygon command to define the base polygon, the Prism command to generate the solid, and the Vector command to illustrate vector relationships, the construction includes all vertices (A through H), lateral faces (faceABFE, faceBCGF, faceCDHG, faceADHE, faceEFGH), and edges (edgeAE, edgeBF, edgeCG,
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.238.0" id="b6e15528-d291-472c-bc82-ee1eed880b12" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="932" height="671" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.3562231759656652" orientation="1" />
</panes>
<views>
<view id="4097" visible="false" inframe="true" stylebar="true" location="1,1,1,1" size="400" window="135,228,700,550" />
<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="true" location="1,3" size="300" window="100,100,600,400" />
<view id="1" visible="false" inframe="false" stylebar="false" location="3" size="332" window="100,100,600,400" />
<view id="2" visible="false" inframe="false" stylebar="false" location="3" size="110" 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="150" 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" visible="false" inframe="true" stylebar="true" location="1" size="150" window="50,50,500,500" />
<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="true" inframe="false" stylebar="true" location="1" size="916" window="100,100,600,400" />
</views>
<toolbar show="false" items="0 39 | 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 | 30 29 54 32 31 33 | 17 26 62 73 , 14 68 | 25 52 60 61 | 40 41 42 , 27 28 35 , 6" position="1" help="false" />
<input show="false" cmd="true" top="algebra" />
<dockBar show="false" east="true" />
</perspective>
</perspectives>
<labelingStyle val="0"/>
<font size="12"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="332" height="503"/>
<coordSystem xZero="121.0" yZero="240.00000000000006" scale="49.999999999999986" yscale="50.00000000000002"/>
<evSettings axes="false" grid="true" 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="0"/>
<axis id="0" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
<axis id="1" show="false" label="" unitLabel="" tickStyle="1" showNumbers="true"/>
</euclidianView>
<kernel>
<uses3D val="true"/>
<continuous val="false"/>
<usePathAndRegionParameters val="true"/>
<decimals val="2"/>
<angleUnit val="degree"/>
<algebraStyle val="0" spreadsheet="0"/>
<coordStyle val="0"/>
<angleFromInvTrig val="false"/>
</kernel>
<scripting blocked="false" disabled="false"/>
<euclidianView3D>
<coordSystem xZero="-0.2441621104100108" yZero="-0.1243565778762942" zZero="-1.188158471241846" scale="63.32686096020068" xAngle="26.0" zAngle="-50.878500000014895"/>
<evSettings axes="false" grid="true" gridIsBold="false" pointCapturing="3" rightAngleStyle="1" gridType="0"/>
<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="true" show="true" size="1"/>
<projection type="0"/>
</euclidianView3D>
<construction title="" author="" date="">
<element type="point" label="A">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="-2.0" y="2.0" z="1.0"/>
<pointSize val="2"/>
<pointStyle val="0"/>
</element>
<element type="point" label="B">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="-2.0" y="-2.0" z="1.0"/>
<pointSize val="2"/>
<pointStyle val="0"/>
</element>
<element type="point" label="C">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="2.0" y="-1.0" z="1.0"/>
<pointSize val="2"/>
<pointStyle val="0"/>
</element>
<element type="point" label="D">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="2.0" y="2.0" z="1.0"/>
<pointSize val="2"/>
<pointStyle val="0"/>
</element>
<command name="Polygon">
<input a0="A" a1="B" a2="C" a3="D"/>
<output a0="poly1" a1="a" a2="b" a3="c" a4="d"/>
</command>
<element type="polygon" label="poly1">
<lineStyle thickness="3" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0.4"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
</element>
<element type="segment" label="a">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="4.0" y="0.0" z="8.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="b">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="-1.0" y="4.0" z="6.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="c">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="-3.0" y="0.0" z="6.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="d">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="0.0" y="-4.0" z="8.0"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<expression label ="KK" exp="3"/>
<element type="numeric" label="KK">
<value val="3.0"/>
<show object="false" label="false"/>
<objColor r="0" g="0" b="0" alpha="0.1"/>
<layer val="0"/>
<labelMode val="1"/>
<fixed val="true"/>
<auxiliary val="true"/>
</element>
<command name="Prism">
<input a0="poly1" a1="KK"/>
<output a0="e" a1="E" a2="F" a3="G" a4="H" a5="faceABFE" a6="faceBCGF" a7="faceCDHG" a8="faceADHE" a9="faceEFGH" a10="edgeAE" a11="edgeBF" a12="edgeCG" a13="edgeDH" a14="edgeEF" a15="edgeFG" a16="edgeGH" a17="edgeEH"/>
</command>
<element type="polyhedron" label="e">
<lineStyle thickness="3" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0.4"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
</element>
<element type="point3d" label="E">
<show object="true" label="false" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="-2.0" y="2.0" z="3.0" w="1.0"/>
<pointSize val="2"/>
</element>
<element type="point3d" label="F">
<show object="true" label="false" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="-2.0" y="-2.0" z="3.0" w="1.0"/>
<pointSize val="2"/>
</element>
<element type="point3d" label="G">
<show object="true" label="false" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="2.0" y="-1.0" z="3.0" w="1.0"/>
<pointSize val="2"/>
</element>
<element type="point3d" label="H">
<show object="true" label="false" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="2.0" y="2.0" z="3.0" w="1.0"/>
<pointSize val="2"/>
</element>
<element type="polygon3d" label="faceABFE">
<lineStyle thickness="3" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0.4"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
</element>
<element type="polygon3d" label="faceBCGF">
<lineStyle thickness="3" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0.4"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
</element>
<element type="polygon3d" label="faceCDHG">
<lineStyle thickness="3" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0.4"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
</element>
<element type="polygon3d" label="faceADHE">
<lineStyle thickness="3" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0.4"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
</element>
<element type="polygon3d" label="faceEFGH">
<lineStyle thickness="3" type="0" typeHidden="1"/>
<show object="true" label="false" ev="4"/>
<objColor r="255" g="0" b="0" alpha="0.4"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
</element>
<element type="segment3d" label="edgeAE">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeBF">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeCG">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeDH">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeEF">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeFG">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeGH">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment3d" label="edgeEH">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<lineStyle thickness="3" type="0" typeHidden="1"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="point" label="I">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="0.0" y="-3.0" z="1.0"/>
<pointSize val="2"/>
<pointStyle val="0"/>
</element>
<element type="point" label="J">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="0.0" y="-2.0" z="1.0"/>
<pointSize val="2"/>
<pointStyle val="0"/>
</element>
<command name="Vector">
<input a0="I" a1="J"/>
<output a0="u"/>
</command>
<element type="vector" label="u">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0.0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<auxiliary val="true"/>
<coords x="0.0" y="1.0" z="0.0"/>
<lineStyle thickness="4" type="0" typeHidden="1"/>
<coordStyle style="cartesian"/>
<startPoint exp="I"/>
</element>
</construction>
</geogebra>