| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576 |
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="utf-8">
- <title>CubicInterpolant - Three.js Docs</title>
- <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">
- <script src="../scripts/highlight.min.js"></script>
- <link type="text/css" rel="stylesheet" href="../styles/highlight-three.css">
- <link type="text/css" rel="stylesheet" href="../styles/page.css">
- </head>
- <body>
- <p class="inheritance" translate="no"><a href="Interpolant.html">Interpolant</a> → </p>
- <h1 translate="no">CubicInterpolant</h1>
- <section>
- <header>
- <div class="class-description"><p>Fast and simple cubic spline interpolant.</p>
- <p>It was derived from a Hermitian construction setting the first derivative
- at each sample position to the linear slope between neighboring positions
- over their parameter interval.</p></div>
- </header>
- <article>
- <div class="container-overview">
- <h2>Constructor</h2>
- <h3 class="name name-method" id="CubicInterpolant" translate="no">new <a href="#CubicInterpolant">CubicInterpolant</a><span class="signature">( parameterPositions : <span class="param-type">TypedArray</span>, sampleValues : <span class="param-type">TypedArray</span>, sampleSize : <span class="param-type">number</span>, resultBuffer : <span class="param-type">TypedArray</span> )</span> </h3>
- <div class="method">
- <div class="description">
- <p>Constructs a new cubic interpolant.</p>
- </div>
- <table class="params">
- <tbody>
- <tr>
- <td class="name">
- <strong>parameterPositions</strong>
- </td>
- <td class="description last">
- <p>The parameter positions hold the interpolation factors.</p>
- </td>
- </tr>
- <tr>
- <td class="name">
- <strong>sampleValues</strong>
- </td>
- <td class="description last">
- <p>The sample values.</p>
- </td>
- </tr>
- <tr>
- <td class="name">
- <strong>sampleSize</strong>
- </td>
- <td class="description last">
- <p>The sample size</p>
- </td>
- </tr>
- <tr>
- <td class="name">
- <strong>resultBuffer</strong>
- </td>
- <td class="description last">
- <p>The result buffer.</p>
- </td>
- </tr>
- </tbody>
- </table>
- </div>
- </div>
- <h2 class="subsection-title">Source</h2>
- <p>
- <a href="https://github.com/mrdoob/three.js/blob/master/src/math/interpolants/CubicInterpolant.js" translate="no" target="_blank" rel="noopener">src/math/interpolants/CubicInterpolant.js</a>
- </p>
- </article>
- </section>
- <script src="../scripts/linenumber.js"></script>
- <script src="../scripts/page.js"></script>
- </body>
- </html>
|