Warning, /education/kig/macros/vector_difference.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>Vector Difference</Name>
0005   <Description>Construct the vector difference of two vectors.</Description>
0006   <ActionName>objects_new_vectordifference</ActionName>
0007   <IconFileName>vectordifference</IconFileName>
0008   <Construction>
0009    <input requirement="vector" id="1">
0010     <UseText>Construct the vector difference of this vector and another one.</UseText>
0011     <SelectStatement>Select the first of the two vectors of which you want to construct the difference...</SelectStatement>
0012    </input>
0013    <input requirement="vector" id="2">
0014     <UseText>Construct the vector difference of the other vector and this one.</UseText>
0015     <SelectStatement>Select the other of the two vectors of which you want to construct the difference...</SelectStatement>
0016    </input>
0017    <input requirement="point" id="3">
0018     <UseText>Construct the vector difference starting at this point.</UseText>
0019     <SelectStatement>Select the point to construct the difference vector in...</SelectStatement>
0020    </input>
0021    <intermediate action="fetch-property" property="vector-opposite" id="4" >
0022     <arg>2</arg>
0023    </intermediate>
0024    <result action="calc" type="VectorSum" id="5" >
0025     <arg>1</arg>
0026     <arg>4</arg>
0027     <arg>3</arg>
0028    </result>
0029   </Construction>
0030  </Macro>
0031 </KigMacroFile>