1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2<html>
3
4<head>
5<META http-equiv="Content-Type" content="text/html; charset=windows-1252">
6<META name="GENERATOR" content="IBM WebSphere Studio Homepage Builder Version 8.0.0.0 for Windows">
7<META http-equiv="Content-Style-Type" content="text/css">
8<title>VEC_Fx16Distance</title>
9<LINK rel="stylesheet" href="../../css/nitro.css" type="text/css">
10</head>
11
12<body>
13
14<h1 align="left">VEC_Fx16Distance <img src="../../image/NTR.gif"align="middle"><img src="../../image/TWL.gif" align="middle"></H1>
15<H2>Syntax</H2>
16
17<dl>
18  <dd>
19<PRE><CODE>#include &lt;nitro/fx/fx_vec.h&gt;
20
21fx32 VEC_Fx16Distance(const VecFx16* v1, const VecFx16* v2);</CODE></PRE>
22  </dd>
23</dl><h2>Arguments</h2>
24
25<table border="1" width="100%">
26
27
28
29
30    <TR>
31      <TD width="176"><em><strong><font face="Courier New">v1</font></strong></em></TD>
32      <TD width="670">Pointer to an <CODE><A href="VecFx16.html">VecFx16</A></CODE>-type vector.</TD>
33    </TR>
34    <TR>
35      <TD><em><strong><font face="Courier New"><em><strong><code>v2</code></strong></em>&nbsp;&nbsp;</font></strong></em></TD>
36      <TD>Pointer to an <CODE><A href="VecFx16.html">VecFx16</A></CODE>-type vector.</TD>
37    </TR>
38  </table>
39<h2>Return Values</h2>
40<p>Distance between two vectors.</p>
41<H2>Description</H2>
42<P>This function returns the distance between two <CODE><A href="VecFx16.html">VecFx16</A></CODE>-type vectors as an <CODE><A href="../fx32.html">fx32</A></CODE> type. It uses the Square Root Calculator. Refer to <A href="../../cp/sqrt/about_sqrt.html#use_in_intr">Square Root Calculator Usage Notes</A> when using this function inside an interrupt.</P>
43
44<h2>See Also</h2>
45<P><CODE><A href="VEC_Fx16Mag.html">VEC_Fx16Mag</A></CODE></P>
46<H2>Revision History</H2>
47<P>2004/02/16 Initial version.</P>
48<hr><p>CONFIDENTIAL</p></body>
49</html>
50