Warning, /education/kig/macros/circle_by_point_and_diameter.kigt is written in an unsupported language. File is not indexed.

0001 <!DOCTYPE KigMacroFile>
0002 <KigMacroFile Number="1" Version="0.9.0" >
0003  <Macro>
0004   <Name>Circle by Point &amp;&amp; Segment (as the Diameter)</Name>
0005   <Description>A circle defined by its center and the length of a segment as the diameter</Description>
0006   <ActionName>objects_new_circlebpd</ActionName>
0007   <IconFileName>circlebpd</IconFileName>
0008   <Construction>
0009    <input requirement="point" id="1">
0010     <UseText>Construct a circle with this center</UseText>
0011     <SelectStatement>Select the center of the new circle...</SelectStatement>
0012    </input>
0013    <input requirement="segment" id="2">
0014     <UseText>Construct a circle with the diameter given by the length of this segment</UseText>
0015     <SelectStatement>Select the segment whose length gives the diameter of the new circle...</SelectStatement>
0016    </input>
0017    <intermediate action="fetch-property" property="end-point-A" id="3" >
0018     <arg>2</arg>
0019    </intermediate>
0020    <intermediate action="fetch-property" property="mid-point" id="4" >
0021     <arg>2</arg>
0022    </intermediate>
0023    <intermediate action="calc" type="SegmentAB" id="5" >
0024     <arg>3</arg>
0025     <arg>4</arg>
0026    </intermediate>
0027    <intermediate action="fetch-property" property="length" id="6" >
0028     <arg>5</arg>
0029    </intermediate>
0030    <result action="calc" type="CircleBPR" id="7" >
0031     <arg>1</arg>
0032     <arg>6</arg>
0033    </result>
0034   </Construction>
0035  </Macro>
0036 </KigMacroFile>