pan><img src="../../../../resource-files/copy.svg" alt="Copy snippet"></button>
<pre class="snippet"><code class="language-c">float distance
</code></pre>
</div>
</div>
</div>
</section>
</li>
<li>
<section class="detail" id="distance(java.lang.foreign.MemorySegment)">
<h3>distance</h3>
<div class="horizontal-scroll">
<div class="member-signature"><span class="modifiers">public static</span>&nbsp;<span class="return-type">float</span>&nbsp;<span class="element-name">distance</span><wbr><span class="paramete