Auto commit by GitHub Actions Workflow

This commit is contained in:
MooseBotter
2026-01-04 16:56:01 +00:00
parent 4425991bfc
commit 53185982f4
39 changed files with 1183 additions and 917 deletions
+265
View File
@@ -2621,6 +2621,12 @@
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(UTILS).BeaufortScale">UTILS.BeaufortScale(speed)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Beaufort scale: returns Beaufort number and wind description as a function of wind speed in m/s.</p>
</td>
</tr>
<tr class="w3-border">
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(UTILS).CalculateInterceptBearing">UTILS.CalculateInterceptBearing(A1, V1, A2, V2_speed)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Calculated optimal intercepting course (Bearing)</p>
</td>
</tr>
<tr class="w3-border">
@@ -3593,6 +3599,18 @@ use negative idp for rounding ahead of decimal place, positive for rounding afte
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(UTILS).Vec2toVec3">UTILS.Vec2toVec3(vec, y)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Converts a Vec2 to a Vec3.</p>
</td>
</tr>
<tr class="w3-border">
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(UTILS).Vec3Length">UTILS.Vec3Length(v)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Calculate the lenght of a 3D vector</p>
</td>
</tr>
<tr class="w3-border">
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(UTILS).Vec3Substract">UTILS.Vec3Substract(a, b)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Calculate the difference between two 3D vectors by substracting the x,y,z components from each other.</p>
</td>
</tr>
<tr class="w3-border">
@@ -3641,6 +3659,12 @@ use negative idp for rounding ahead of decimal place, positive for rounding afte
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(UTILS).VecNorm">UTILS.VecNorm(a)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Calculate the <a href="https://en.wikipedia.org/wiki/Euclidean_distance">euclidean norm</a> (length) of a 3D vector.</p>
</td>
</tr>
<tr class="w3-border">
<td class="name w3-half w3-container" style="word-wrap: break-word"><p><a href="##(UTILS).VecScale">UTILS.VecScale(v, s)</a></p></td>
<td class="summary w3-half w3-container" style="word-wrap: break-word">
<p>Scale a 3D vectors by multiplication with s.</p>
</td>
</tr>
<tr class="w3-border">
@@ -4673,6 +4697,89 @@ use negative idp for rounding ahead of decimal place, positive for rounding afte
</div>
</div>
</div>
</div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<div class="w3-theme-l2">
<h2><a id="#(UTILS).CalculateInterceptBearing" ><strong>UTILS.CalculateInterceptBearing(A1, V1, A2, V2_speed)</strong></a></h2>
</div>
<p>Calculated optimal intercepting course (Bearing)</p>
<div id= "#Functions##CalculateInterceptBearing" class="w3-show w3-white">
<div class="w3-container w3-white" id="functiontype">
<h2><strong>Defined in:</strong></h2>
<div class="w3-margin-left">
<p>UTILS</p>
</div>
<h2><strong>Parameters:</strong></h2>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<a href="DCS.html##(Vec3)">DCS#Vec3</a>
<strong><strong>A1</strong></strong>
</p>
</div>
<div class="w3-half">
<p>Position of flight one</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<a href="DCS.html##(Vec3)">DCS#Vec3</a>
<strong><strong>V1</strong></strong>
</p>
</div>
<div class="w3-half">
<p>VelocityVector of flight one</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<a href="DCS.html##(Vec3)">DCS#Vec3</a>
<strong><strong>A2</strong></strong>
</p>
</div>
<div class="w3-half">
<p>Position of flight two</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>V2_speed</strong></strong>
</p>
</div>
<div class="w3-half">
<p>Speed of A2 in m/s</p>
</div>
</div>
<h2><strong>Return value:</strong></h2>
<div class="w3-row w3-border-bottom w3-margin-left">
<div class="w3-half">
<p>#number:</p>
</div>
<div class="w3-half">
<p>Bearing Bearing course for A2 to take for an intercept of A1 or nil if aspect is hot/cold.</p>
</div>
</div>
</div>
</div>
</div>
@@ -14335,6 +14442,107 @@ static, shape_name is optional. Also, livery_id is optional, but is applied to t
</div>
</div>
</div>
</div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<div class="w3-theme-l2">
<h2><a id="#(UTILS).Vec3Length" ><strong>UTILS.Vec3Length(v)</strong></a></h2>
</div>
<p>Calculate the lenght of a 3D vector</p>
<div id= "#Functions##Vec3Length" class="w3-show w3-white">
<div class="w3-container w3-white" id="functiontype">
<h2><strong>Defined in:</strong></h2>
<div class="w3-margin-left">
<p>UTILS</p>
</div>
<h2><strong>Parameter:</strong></h2>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<a href="DCS.html##(Vec3)">DCS#Vec3</a>
<strong><strong>v</strong></strong>
</p>
</div>
<div class="w3-half">
<p>A Vector in 3D with x, y, z components.</p>
</div>
</div>
<h2><strong>Return value:</strong></h2>
<div class="w3-row w3-border-bottom w3-margin-left">
<div class="w3-half">
<p>#number:</p>
</div>
<div class="w3-half">
<p>length</p>
</div>
</div>
</div>
</div>
</div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<div class="w3-theme-l2">
<h2><a id="#(UTILS).Vec3Substract" ><strong>UTILS.Vec3Substract(a, b)</strong></a></h2>
</div>
<p>Calculate the difference between two 3D vectors by substracting the x,y,z components from each other.</p>
<div id= "#Functions##Vec3Substract" class="w3-show w3-white">
<div class="w3-container w3-white" id="functiontype">
<h2><strong>Defined in:</strong></h2>
<div class="w3-margin-left">
<p>UTILS</p>
</div>
<h2><strong>Parameters:</strong></h2>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<a href="DCS.html##(Vec3)">DCS#Vec3</a>
<strong><strong>a</strong></strong>
</p>
</div>
<div class="w3-half">
<p>Vector in 3D with x, y, z components.</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<a href="DCS.html##(Vec3)">DCS#Vec3</a>
<strong><strong>b</strong></strong>
</p>
</div>
<div class="w3-half">
<p>Vector in 3D with x, y, z components.</p>
</div>
</div>
<h2><strong>Return value:</strong></h2>
<div class="w3-row w3-border-bottom w3-margin-left">
<div class="w3-half">
<p><a href="DCS.html##(Vec3)">DCS#Vec3</a>:</p>
</div>
<div class="w3-half">
<p>Vector in 3D.</p>
</div>
</div>
</div>
</div>
</div>
@@ -14771,6 +14979,63 @@ static, shape_name is optional. Also, livery_id is optional, but is applied to t
</div>
</div>
</div>
</div>
<div class="w3-card-2 w3-padding-small w3-margin-top">
<div class="w3-theme-l2">
<h2><a id="#(UTILS).VecScale" ><strong>UTILS.VecScale(v, s)</strong></a></h2>
</div>
<p>Scale a 3D vectors by multiplication with s.</p>
<div id= "#Functions##VecScale" class="w3-show w3-white">
<div class="w3-container w3-white" id="functiontype">
<h2><strong>Defined in:</strong></h2>
<div class="w3-margin-left">
<p>UTILS</p>
</div>
<h2><strong>Parameters:</strong></h2>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
<a href="DCS.html##(Vec3)">DCS#Vec3</a>
<strong><strong>v</strong></strong>
</p>
</div>
<div class="w3-half">
<p>A Vector in 3D with x, y, z components.</p>
</div>
</div>
<div class="w3-row w3-margin-left w3-border-bottom w3-border-l2">
<div class="w3-half">
<p>
#number
<strong><strong>s</strong></strong>
</p>
</div>
<div class="w3-half">
<p>Scale</p>
</div>
</div>
<h2><strong>Return value:</strong></h2>
<div class="w3-row w3-border-bottom w3-margin-left">
<div class="w3-half">
<p><a href="DCS.html##(Vec3)">DCS#Vec3</a>:</p>
</div>
<div class="w3-half">
<p>Vec3</p>
</div>
</div>
</div>
</div>
</div>