直角坐标的旋转变换
2019-04-30 02:45
本 GeoGebra 范例演示直角坐标系中点与多边形的旋转变换。通过 Rotate 命令将点 P 绕原点 O 旋转指定角度 α,生成像点 P',并借助 DynamicCoordinates 实时显示旋转前后坐标的数值关系。构造中包含多组同心圆弧(CircleArc)、多边形(Polygon)及角度标注,直观呈现旋转变换保持距离与角度不变的几何性质。用户可通过滑块调节旋转角,观察不同象限内坐标的符号变化与三角函数联系,适用于解析几何与变换几何的教学演示。
<?xml version="1.0" encoding="utf-8"?>
<geogebra format="5.0" version="5.0.535.0" app="classic" platform="w" id="18986882-2308-480f-afe3-2918d03948d8" xsi:noNamespaceSchemaLocation="http://www.geogebra.org/ggb.xsd" xmlns="" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" >
<gui>
<window width="879" height="643" />
<perspectives>
<perspective id="tmp">
<panes>
<pane location="" divider="0.2223950233281493" orientation="0" />
</panes>
<views>
<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="200" window="0,0,400,400" />
<view id="1" visible="true" inframe="false" stylebar="false" location="2" size="490" window="0,0,400,400" />
<view id="2" visible="false" inframe="false" stylebar="true" location="3" size="258" window="1215,249,314,529" />
<view id="8" toolbar="1001 | 1002 | 1003 || 1005 | 1004 || 1006 | 1007 | 1010 | 1011 || 1008 1009 || 6" visible="false" inframe="false" stylebar="false" location="1" size="150" window="50,50,500,500" />
<view id="16" visible="true" inframe="false" stylebar="false" location="0" size="143" window="915,562,500,500" />
<view id="32" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="64" toolbar="0" visible="false" inframe="false" stylebar="true" location="1" size="150" 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="4097" visible="false" inframe="false" stylebar="true" location="1" size="150" window="894,606,866,641" />
<view id="70" toolbar="0 || 2020 || 2021 || 2022" visible="false" inframe="false" stylebar="true" location="1" size="150" window="50,50,500,500" />
<view id="43" visible="false" inframe="false" stylebar="false" location="1" size="450" 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="false" inframe="false" stylebar="false" location="1" size="300" window="50,50,500,500" />
</views>
<toolbar show="false" 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" position="1" help="false" />
<input show="false" cmd="true" top="algebra" />
<dockBar show="false" east="false" />
</perspective>
</perspectives>
<labelingStyle val="3"/>
<font size="24"/>
</gui>
<euclidianView>
<viewNumber viewNo="1"/>
<size width="876" height="490"/>
<coordSystem xZero="451.7299476581867" yZero="224.67732556979843" scale="21.282100750991166" yscale="21.282100750991077"/>
<evSettings axes="true" grid="true" gridIsBold="false" pointCapturing="1" 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="true" label="x" unitLabel="" tickStyle="2" showNumbers="false"/>
<axis id="1" show="true" label="y" unitLabel="" tickStyle="2" showNumbers="false"/>
<grid distX="1" distY="1" distTheta="0.5235987755982988"/>
</euclidianView>
<euclidianView>
<viewNumber viewNo="2"/>
<size width="876" height="142"/>
<coordSystem xZero="215" yZero="562.0000000000019" scale="49.99999999999999" yscale="50.00000000000013"/>
<evSettings axes="false" grid="false" gridIsBold="false" pointCapturing="2" rightAngleStyle="1" checkboxSize="26" gridType="3"/>
<bgColor r="255" g="250" b="205"/>
<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"/>
<grid distX="0.1" distY="0.1" distTheta="0.5235987755982988"/>
</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"/>
</kernel>
<tableview min="-2" max="2" step="1"/>
<scripting blocked="false" disabled="false"/>
<construction title="" author="" date="">
<expression label="δ" exp="2°"/>
<element type="angle" label="δ">
<angleStyle val="3"/>
<value val="0.03490658503988659"/>
<show object="false" label="true"/>
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="5" type="0" typeHidden="2" opacity="178"/>
<arcSize val="30"/>
<animation speed="1" type="0" playing="false"/>
</element>
<element type="point" label="P0">
<show object="false" label="true" ev="4"/>
<objColor r="77" g="77" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="7" y="-3"/>
<labelMode val="0"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="7.013877722332535" y="4.68362248332823" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="DynamicCoordinates">
<input a0="P0" a1="round(x(P0))" a2="round(y(P0))"/>
<output a0="P"/>
</command>
<element type="point" label="P">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelOffset x="-2" y="-68"/>
<labelMode val="1"/>
<animation step="0.1" speed="1" type="1" playing="false"/>
<coords x="7" y="5" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Point">
<input a0="yAxis"/>
<output a0="O"/>
</command>
<element type="point" label="O">
<show object="true" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-33" y="43"/>
<labelMode val="0"/>
<fixed val="true"/>
<coords x="0" y="0" z="1"/>
<pointSize val="7"/>
<pointStyle val="1"/>
</element>
<command name="Rotate">
<input a0="P" a1="360° - δ" a2="O"/>
<output a0="R4'"/>
</command>
<element type="point" label="R4'">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="7.170233272646175" y="4.752657658177973" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Rotate">
<input a0="P" a1="270° + δ" a2="O"/>
<output a0="R4"/>
</command>
<element type="point" label="R4">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="5.241250612012982" y="-6.8212383056211685" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="CircleArc">
<input a0="O" a1="R4" a2="R4'"/>
<output a0="c4"/>
</command>
<element type="conicpart" label="c4">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-74.00000000000003" A3="0" A4="0" A5="0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Rotate">
<input a0="P" a1="180° + δ" a2="O"/>
<output a0="R3"/>
</command>
<element type="point" label="R3">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-6.821238305621166" y="-5.241250612012985" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Rotate">
<input a0="P" a1="90° + δ" a2="O"/>
<output a0="R2"/>
</command>
<element type="point" label="R2">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-5.241250612012985" y="6.821238305621166" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Rotate">
<input a0="P" a1="270° - δ" a2="O"/>
<output a0="R3'"/>
</command>
<element type="point" label="R3'">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="4.752657658177974" y="-7.170233272646174" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="CircleArc">
<input a0="O" a1="R3" a2="R3'"/>
<output a0="c3"/>
</command>
<element type="conicpart" label="c3">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-74" A3="0" A4="0" A5="0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Rotate">
<input a0="P" a1="180° - δ" a2="O"/>
<output a0="R2'"/>
</command>
<element type="point" label="R2'">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-7.1702332726461755" y="-4.75265765817797" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="CircleArc">
<input a0="O" a1="R2" a2="R2'"/>
<output a0="c2"/>
</command>
<element type="conicpart" label="c2">
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-74" A3="0" A4="0" A5="0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Rotate">
<input a0="P" a1="δ" a2="O"/>
<output a0="R1"/>
</command>
<element type="point" label="R1">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="6.821238305621165" y="5.241250612012985" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Rotate">
<input a0="P" a1="90° - δ" a2="O"/>
<output a0="R1'"/>
</command>
<element type="point" label="R1'">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="-4.752657658177971" y="7.1702332726461755" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="CircleArc">
<input a0="O" a1="R1" a2="R1'"/>
<output a0="c1"/>
</command>
<element type="conicpart" label="c1">
<show object="false" label="true" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-74" A3="0" A4="0" A5="0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Point">
<input a0="xAxis"/>
<output a0="B"/>
</command>
<element type="point" label="B">
<show object="false" 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="6" y="0" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Point">
<input a0="{P, c1, Rotate[P, 90°, O], c2, Rotate[P, 180°, O], c3, Rotate[P, 270°, O], c4}"/>
<output a0="P'"/>
</command>
<element type="point" label="P'">
<show object="true" label="false" ev="4"/>
<condition showObject="a ∨ f"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-39" y="3"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="1" playing="false"/>
<coords x="7" y="5" z="1"/>
<pointSize val="5"/>
<pointStyle val="0"/>
</element>
<command name="Angle">
<input a0="P" a1="O" a2="P'"/>
<output a0="α"/>
</command>
<element type="angle" label="α">
<angleStyle val="0"/>
<value val="0"/>
<show object="false" label="true"/>
<objColor r="0" g="100" b="0" alpha="0.10000000149011612"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="5" type="0" typeHidden="2" opacity="178"/>
<arcSize val="30"/>
</element>
<expression label="Q" exp="(x(P), 0)" type="point" />
<element type="point" label="Q">
<show object="true" label="true" ev="4"/>
<condition showObject="y(P) ≠ 0 ∧ x(P) ≠ 0 ∧ hint"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-4" y="35"/>
<labelMode val="0"/>
<coords x="7" y="0" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Rotate">
<input a0="Q" a1="α" a2="O"/>
<output a0="Q'_2"/>
</command>
<element type="point" label="Q'_2">
<show object="false" label="true" ev="4"/>
<objColor r="68" g="68" b="68" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<coords x="7" y="0" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<command name="Polygon">
<input a0="O" a1="Q'_2" a2="P'"/>
<output a0="t1" a1="p'" a2="o" a3="q'"/>
</command>
<element type="polygon" label="t1">
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<show object="true" label="false" ev="4"/>
<condition showObject="rotated ≠ 0 ∧ hint"/>
<objColor r="255" g="255" b="0" alpha="0.30000001192092896"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="segment" label="p'">
<show object="true" label="true" ev="4"/>
<condition showObject="rotated ≠ 0 ∧ x(P) ≠ 0 ∧ hint"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-10" y="1"/>
<labelMode val="2"/>
<auxiliary val="false"/>
<coords x="0" y="7" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="o">
<show object="true" label="true" ev="4"/>
<condition showObject="rotated ≠ 0 ∧ y(P) ≠ 0 ∧ hint"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-4" y="9"/>
<labelMode val="2"/>
<auxiliary val="false"/>
<coords x="-5" y="0" z="35"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="q'">
<show object="true" label="false" ev="4"/>
<condition showObject="a ∨ f"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="5" y="-7" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Polygon">
<input a0="O" a1="Q" a2="P"/>
<output a0="t2" a1="p" a2="o_1" a3="q"/>
</command>
<element type="polygon" label="t2">
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<show object="true" label="false" ev="4"/>
<condition showObject="hint ≠ 0"/>
<objColor r="255" g="255" b="0" alpha="0.30000001192092896"/>
<layer val="0"/>
<labelMode val="0"/>
</element>
<element type="segment" label="p">
<show object="true" label="true" ev="4"/>
<condition showObject="hint ≠ 0 ∧ x(P) ≠ 0"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="2" y="9"/>
<labelMode val="2"/>
<auxiliary val="false"/>
<coords x="0" y="7" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="o_1">
<show object="true" label="true" ev="4"/>
<condition showObject="hint ≠ 0 ∧ y(P) ≠ 0"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="-6" y="6"/>
<labelMode val="2"/>
<auxiliary val="false"/>
<coords x="-5" y="0" z="35"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<element type="segment" label="q">
<show object="true" label="false" ev="4"/>
<condition showObject="a ∨ f"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<auxiliary val="false"/>
<coords x="5" y="-7" z="0"/>
<lineStyle thickness="5" type="0" typeHidden="1" opacity="178"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Angle">
<input a0="P" a1="Q" a2="O"/>
<output a0="β"/>
</command>
<element type="angle" label="β">
<angleStyle val="0"/>
<value val="1.5707963267948966"/>
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="5" type="0" typeHidden="2" opacity="178"/>
<arcSize val="30"/>
</element>
<command name="Angle">
<input a0="P'" a1="Q'_2" a2="O"/>
<output a0="γ"/>
</command>
<element type="angle" label="γ">
<angleStyle val="0"/>
<value val="1.5707963267948966"/>
<show object="false" label="false" ev="4"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="1"/>
<lineStyle thickness="5" type="0" typeHidden="2" opacity="178"/>
<arcSize val="30"/>
</element>
<command name="If">
<input a0="P' ≟ P" a1="false" a2="true"/>
<output a0="rotated"/>
</command>
<element type="boolean" label="rotated">
<value val="false"/>
<show object="false" label="true"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<checkbox fixed="true"/>
</element>
<element type="boolean" label="a">
<value val="false"/>
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="10" y="7"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(P', P)
SetValue(b, false)
SetValue[f, false]
SetValue[hint, false]"/>
<caption val="逆時針旋轉"/>
</element>
<element type="boolean" label="b">
<value val="false"/>
<show object="true" label="true" ev="3"/>
<condition showObject="(a ∨ f) ∧ rotated"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="10" y="97"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<caption val="P'坐標"/>
</element>
<command name="Angle">
<input a0="P" a1="O" a2="P'"/>
<output a0="ε"/>
</command>
<element type="angle" label="ε">
<angleStyle val="0"/>
<value val="0"/>
<show object="true" label="true" ev="4"/>
<condition showObject="a ≠ 0"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="14" y="-18"/>
<labelMode val="2"/>
<lineStyle thickness="5" type="0" typeHidden="2" opacity="178"/>
<arcSize val="40"/>
</element>
<expression label="text3" exp=""(" + (x(P')) + ", " + (y(P')) + ")"" />
<element type="text" label="text3">
<show object="false" label="false" ev="40"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<startPoint x="-4.263372388897716" y="-4.846930589059319" z="1"/>
</element>
<expression label="text1" exp=""P'" + (If[b, text3, ""]) + """ />
<element type="text" label="text1">
<show object="true" label="false" ev="4"/>
<condition showObject="(a ∨ f) ∧ rotated"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<startPoint exp="P'"/>
<labelOffset x="-49" y="-14"/>
</element>
<element type="boolean" label="c">
<value val="true"/>
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="760" y="7"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="ShowGrid(1, c)"/>
<caption val="格線"/>
</element>
<command name="CircleArc">
<input a0="O" a1="P" a2="P'"/>
<output a0="d"/>
</command>
<element type="conicpart" label="d">
<show object="true" label="false" ev="4"/>
<condition showObject="a ≠ 0"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="10" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-74" A3="0" A4="0" A5="0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="CircleArc">
<input a0="O" a1="P'" a2="P"/>
<output a0="e"/>
</command>
<element type="conicpart" label="e">
<show object="true" label="false" ev="4"/>
<condition showObject="f ≠ 0"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<lineStyle thickness="5" type="10" typeHidden="1" opacity="178"/>
<eigenvectors x0="1" y0="0" z0="1.0" x1="0" y1="1" z1="1.0"/>
<matrix A0="1" A1="1" A2="-74" A3="0" A4="0" A5="0"/>
<eqnStyle style="implicit"/>
<outlyingIntersections val="false"/>
<keepTypeOnTransform val="true"/>
</element>
<command name="Angle">
<input a0="P'" a1="O" a2="P"/>
<output a0="ζ"/>
</command>
<element type="angle" label="ζ">
<angleStyle val="0"/>
<value val="0"/>
<show object="true" label="true" ev="4"/>
<condition showObject="f ≠ 0"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="49" y="31"/>
<labelMode val="2"/>
<lineStyle thickness="5" type="0" typeHidden="2" opacity="178"/>
<arcSize val="60"/>
</element>
<element type="boolean" label="f">
<value val="false"/>
<show object="true" label="true" ev="3"/>
<objColor r="0" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="350" y="7"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<ggbscript onUpdate="SetValue(P', P)
SetValue(b, false)
SetValue[a, false]
SetValue[hint, false]"/>
<caption val="順時針旋轉"/>
</element>
<command name="Rotate">
<input a0="Q" a1="ε" a2="O"/>
<output a0="Q'"/>
</command>
<element type="point" label="Q'">
<show object="true" label="true" ev="4"/>
<condition showObject="(a ∨ f) ∧ rotated ∧ x(P) ≠ 0 ∧ y(P) ≠ 0 ∧ hint"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="4" y="12"/>
<labelMode val="0"/>
<coords x="7" y="0" z="1"/>
<pointSize val="4"/>
<pointStyle val="0"/>
</element>
<element type="polyhedron" label="Archimedean">
<lineStyle thickness="5" type="0" typeHidden="1"/>
<show object="true" label="true"/>
<objColor r="211" g="47" b="47" alpha="0.4000000059604645"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="polyhedron" label="Prism">
<lineStyle thickness="5" type="0" typeHidden="1"/>
<show object="true" label="true"/>
<objColor r="216" g="27" b="96" alpha="0.4000000059604645"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="polyhedron" label="Pyramid">
<lineStyle thickness="5" type="0" typeHidden="1"/>
<show object="true" label="true"/>
<objColor r="219" g="97" b="20" alpha="0.4000000059604645"/>
<layer val="0"/>
<labelMode val="0"/>
<animation step="1" speed="1" type="0" playing="false"/>
</element>
<element type="boolean" label="hint">
<value val="false"/>
<show object="true" label="true" ev="3"/>
<condition showObject="a ∨ f"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelOffset x="520" y="57"/>
<labelMode val="3"/>
<checkbox fixed="true"/>
<caption val="提示"/>
</element>
<expression label="text2" exp=""P(" + (x(P)) + ", " + (y(P)) + ")"" />
<element type="text" label="text2">
<show object="true" label="false" ev="4"/>
<objColor r="0" g="0" b="255" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<startPoint exp="P"/>
<labelOffset x="8" y="-5"/>
</element>
<expression label="text4" exp=""拖拉紅點,把 P 繞 O " + (If[a, "逆時針", "順時針"]) + " 90°、180° 或 270°。"" />
<element type="text" label="text4">
<show object="true" label="false" ev="11"/>
<condition showObject="a ∨ f"/>
<objColor r="255" g="0" b="0" alpha="0"/>
<layer val="0"/>
<labelMode val="0"/>
<fixed val="true"/>
<font serif="false" sizeM="0.9" size="-3" style="0"/>
<absoluteScreenLocation x="13" y="81"/>
</element>
</construction>
</geogebra>