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

0001 <!DOCTYPE KigMacroFile>
0002 <KigMacroFile Number="1" Version="0.7.1" >
0003  <Macro>
0004   <Name>Circle by Center &amp;&amp; Line</Name>
0005   <Description>A circle constructed by its center and tangent to a given line</Description>
0006   <ActionName>objects_new_circlebcl</ActionName>
0007   <IconFileName>circlebcl</IconFileName>
0008   <Construction>
0009    <input requirement="line" id="1">
0010     <UseText>Construct a circle tangent to this line</UseText>
0011     <SelectStatement>Select the line that the new circle should be tangent to...</SelectStatement>
0012    </input>
0013    <input requirement="point" id="2">
0014     <UseText>Construct a circle with this center</UseText>
0015     <SelectStatement>Select the center of the new circle...</SelectStatement>
0016    </input>
0017    <intermediate action="calc" type="LinePerpend" id="3" >
0018     <arg>1</arg>
0019     <arg>2</arg>
0020    </intermediate>
0021    <intermediate action="calc" type="LineLineIntersection" id="4" >
0022     <arg>1</arg>
0023     <arg>3</arg>
0024    </intermediate>
0025    <result action="calc" type="CircleBCP" id="5" >
0026     <arg>2</arg>
0027     <arg>4</arg>
0028    </result>
0029   </Construction>
0030  </Macro>
0031 </KigMacroFile>