forked from kscience/kmath
290 lines
37 KiB
HTML
290 lines
37 KiB
HTML
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
|
<title>space.kscience.kmath.geometry</title>
|
|
</head><body><link href="../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script>
|
|
<script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async></script><link href="../../styles/style.css" rel="Stylesheet"><link href="../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../styles/main.css" rel="Stylesheet"><link href="../../styles/prism.css" rel="Stylesheet"><link href="../../styles/logo-styles.css" rel="Stylesheet"><script type="text/javascript" src="../../scripts/clipboard.js" async></script><script type="text/javascript" src="../../scripts/navigation-loader.js" async></script><script type="text/javascript" src="../../scripts/platform-content-handler.js" async></script><script type="text/javascript" src="../../scripts/main.js" defer></script><script type="text/javascript" src="../../scripts/prism.js" async></script><script>const storage = localStorage.getItem("dokka-dark-mode")
|
|
const savedDarkMode = storage ? JSON.parse(storage) : false
|
|
if(savedDarkMode === true){
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
}</script>
|
|
|
|
|
|
<div class="navigation-wrapper" id="navigation-wrapper">
|
|
<div id="leftToggler"><span class="icon-toggler"></span></div>
|
|
<div class="library-name"><a href="../../index.html"><span>kmath</span></a></div>
|
|
<div></div>
|
|
<div class="pull-right d-flex"><button id="theme-toggle-button"><span id="theme-toggle"></span></button>
|
|
<div id="searchBar"></div>
|
|
</div>
|
|
</div>
|
|
<div id="container">
|
|
<div id="leftColumn">
|
|
<div id="sideMenu"></div>
|
|
</div>
|
|
<div id="main">
|
|
<div class="main-content" id="content" pageids="kmath-geometry::space.kscience.kmath.geometry////PointingToDeclaration//-1055449721">
|
|
<div class="breadcrumbs"><a href="../index.html">kmath-geometry</a>/<a href="index.html">space.kscience.kmath.geometry</a></div>
|
|
<div class="cover ">
|
|
<h1 class="cover"><span><span>Package</span></span> <span>space.</span><wbr><span>kscience.</span><wbr><span>kmath.</span><wbr><span>geometry</span></h1>
|
|
</div>
|
|
<div class="tabbedcontent">
|
|
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button><button class="section-tab" data-togglable="Functions">Functions</button><button class="section-tab" data-togglable="Properties">Properties</button></div>
|
|
<div class="tabs-section-body">
|
|
<h2 class="">Types</h2>
|
|
<div class="table" data-togglable="Types"><a data-name="325490150%2FClasslikes%2F-1055449721" anchor-label="Euclidean2DSpace" id="325490150%2FClasslikes%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-euclidean2-d-space/index.html"><span><span>Euclidean2DSpace</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="325490150%2FClasslikes%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-euclidean2-d-space/index.html">Euclidean2DSpace</a> : <a href="-geometry-space/index.html">GeometrySpace</a><span class="token operator"><</span><span class="token keyword"></span><a href="-vector2-d/index.html">Vector2D</a><span class="token operator">> </span>, <a href="../../kmath-core/space.kscience.kmath.operations/-scale-operations/index.html">ScaleOperations</a><span class="token operator"><</span><span class="token keyword"></span><a href="-vector2-d/index.html">Vector2D</a><span class="token operator">> </span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">2D Euclidean space</p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1684613691%2FClasslikes%2F-1055449721" anchor-label="Euclidean3DSpace" id="-1684613691%2FClasslikes%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-euclidean3-d-space/index.html"><span><span>Euclidean3DSpace</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1684613691%2FClasslikes%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-euclidean3-d-space/index.html">Euclidean3DSpace</a> : <a href="-geometry-space/index.html">GeometrySpace</a><span class="token operator"><</span><span class="token keyword"></span><a href="-vector3-d/index.html">Vector3D</a><span class="token operator">> </span>, <a href="../../kmath-core/space.kscience.kmath.operations/-scale-operations/index.html">ScaleOperations</a><span class="token operator"><</span><span class="token keyword"></span><a href="-vector3-d/index.html">Vector3D</a><span class="token operator">> </span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-2081358670%2FClasslikes%2F-1055449721" anchor-label="GeometrySpace" id="-2081358670%2FClasslikes%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-geometry-space/index.html"><span>Geometry</span><wbr><span><span>Space</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2081358670%2FClasslikes%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-geometry-space/index.html">GeometrySpace</a><span class="token operator"><</span><span class="token keyword"></span><a href="-geometry-space/index.html">V</a><span class="token operator"> : </span><a href="-vector/index.html">Vector</a><span class="token operator">></span> : <a href="../../kmath-core/space.kscience.kmath.operations/-group/index.html">Group</a><span class="token operator"><</span><span class="token keyword"></span><a href="-geometry-space/index.html">V</a><span class="token operator">> </span>, <a href="../../kmath-core/space.kscience.kmath.operations/-scale-operations/index.html">ScaleOperations</a><span class="token operator"><</span><span class="token keyword"></span><a href="-geometry-space/index.html">V</a><span class="token operator">> </span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="1595477352%2FClasslikes%2F-1055449721" anchor-label="Line" id="1595477352%2FClasslikes%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-line/index.html"><span><span>Line</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1595477352%2FClasslikes%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">data </span><span class="token keyword">class </span><a href="-line/index.html">Line</a><span class="token operator"><</span><span class="token keyword">out </span><a href="-line/index.html">V</a><span class="token operator"> : </span><a href="-vector/index.html">Vector</a><span class="token operator">></span><span class="token punctuation">(</span>base<span class="token operator">: </span><a href="-line/index.html">V</a><span class="token punctuation">, </span>direction<span class="token operator">: </span><a href="-line/index.html">V</a><span class="token punctuation">)</span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="2111272342%2FClasslikes%2F-1055449721" anchor-label="Line2D" id="2111272342%2FClasslikes%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="index.html#2111272342%2FClasslikes%2F-1055449721"><span><span>Line2D</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2111272342%2FClasslikes%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">typealias </span><a href="index.html#2111272342%2FClasslikes%2F-1055449721">Line2D</a><span class="token operator"> = </span><a href="-line/index.html">Line</a><span class="token operator"><</span><span class="token keyword"></span><a href="-vector2-d/index.html">Vector2D</a><span class="token operator">></span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1222080937%2FClasslikes%2F-1055449721" anchor-label="Line3D" id="-1222080937%2FClasslikes%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="index.html#-1222080937%2FClasslikes%2F-1055449721"><span><span>Line3D</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1222080937%2FClasslikes%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">typealias </span><a href="index.html#-1222080937%2FClasslikes%2F-1055449721">Line3D</a><span class="token operator"> = </span><a href="-line/index.html">Line</a><span class="token operator"><</span><span class="token keyword"></span><a href="-vector3-d/index.html">Vector3D</a><span class="token operator">></span><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="662706810%2FClasslikes%2F-1055449721" anchor-label="ReferenceFrame" id="662706810%2FClasslikes%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-reference-frame/index.html"><span>Reference</span><wbr><span><span>Frame</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="662706810%2FClasslikes%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-reference-frame/index.html">ReferenceFrame</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1620368327%2FClasslikes%2F-1055449721" anchor-label="Vector" id="-1620368327%2FClasslikes%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-vector/index.html"><span><span>Vector</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1620368327%2FClasslikes%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-vector/index.html">Vector</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-234939353%2FClasslikes%2F-1055449721" anchor-label="Vector2D" id="-234939353%2FClasslikes%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-vector2-d/index.html"><span><span>Vector2D</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-234939353%2FClasslikes%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-vector2-d/index.html">Vector2D</a> : <a href="../../kmath-core/space.kscience.kmath.structures/-buffer/index.html">Buffer</a><span class="token operator"><</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator">> </span>, <a href="-vector/index.html">Vector</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="726674664%2FClasslikes%2F-1055449721" anchor-label="Vector3D" id="726674664%2FClasslikes%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-vector3-d/index.html"><span><span>Vector3D</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="726674664%2FClasslikes%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-vector3-d/index.html">Vector3D</a> : <a href="../../kmath-core/space.kscience.kmath.structures/-buffer/index.html">Buffer</a><span class="token operator"><</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator">> </span>, <a href="-vector/index.html">Vector</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h2 class="">Functions</h2>
|
|
<div class="table" data-togglable="Functions"><a data-name="1824642633%2FFunctions%2F-1055449721" anchor-label="projectAlong" id="1824642633%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="project-along.html"><span>project</span><wbr><span><span>Along</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1824642633%2FFunctions%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="project-along.html">V</a><span class="token operator"> : </span><a href="-vector/index.html">Vector</a><span class="token operator">> </span><a href="-geometry-space/index.html">GeometrySpace</a><span class="token operator"><</span><span class="token keyword"></span><a href="project-along.html">V</a><span class="token operator">></span><span class="token punctuation">.</span><a href="project-along.html"><span class="token function">projectAlong</span></a><span class="token punctuation">(</span>vector<span class="token operator">: </span><a href="project-along.html">V</a><span class="token punctuation">, </span>normal<span class="token operator">: </span><a href="project-along.html">V</a><span class="token punctuation">, </span>base<span class="token operator">: </span><a href="project-along.html">V</a><span class="token punctuation">)</span><span class="token operator">: </span><a href="project-along.html">V</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">Project vector onto a hyperplane, which is defined by a normal and base. In 2D case it is the projection to a line, in 3d case it is the one to a plane.</p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="965958087%2FFunctions%2F-1055449721" anchor-label="projectToLine" id="965958087%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="project-to-line.html"><span>project</span><wbr><span>To</span><wbr><span><span>Line</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="965958087%2FFunctions%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator"><</span><span class="token keyword"></span><a href="project-to-line.html">V</a><span class="token operator"> : </span><a href="-vector/index.html">Vector</a><span class="token operator">> </span><a href="-geometry-space/index.html">GeometrySpace</a><span class="token operator"><</span><span class="token keyword"></span><a href="project-to-line.html">V</a><span class="token operator">></span><span class="token punctuation">.</span><a href="project-to-line.html"><span class="token function">projectToLine</span></a><span class="token punctuation">(</span>vector<span class="token operator">: </span><a href="project-to-line.html">V</a><span class="token punctuation">, </span>line<span class="token operator">: </span><a href="-line/index.html">Line</a><span class="token operator"><</span><span class="token keyword"></span><a href="project-to-line.html">V</a><span class="token operator">></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="project-to-line.html">V</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><p class="paragraph">Project vector onto a line.</p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-219840389%2FFunctions%2F-1055449721" anchor-label="Vector2D" id="-219840389%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-vector2-d.html"><span><span>Vector2D</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-219840389%2FFunctions%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-vector2-d.html"><span class="token function">Vector2D</span></a><span class="token punctuation">(</span>x<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token punctuation">, </span>y<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token punctuation">)</span><span class="token operator">: </span><a href="-vector2-d/index.html">Vector2D</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="198153919%2FFunctions%2F-1055449721" anchor-label="Vector3D" id="198153919%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="-vector3-d.html"><span><span>Vector3D</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="198153919%2FFunctions%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-vector3-d.html"><span class="token function">Vector3D</span></a><span class="token punctuation">(</span>x<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token punctuation">, </span>y<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token punctuation">, </span>z<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token punctuation">)</span><span class="token operator">: </span><a href="-vector3-d/index.html">Vector3D</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<h2 class="">Properties</h2>
|
|
<div class="table" data-togglable="Properties"><a data-name="1882457230%2FProperties%2F-1055449721" anchor-label="r" id="1882457230%2FProperties%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="r.html">r</a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1882457230%2FProperties%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><a data-name="1882457230%2FProperties%2F-1055449721" anchor-label="r" id="1882457230%2FProperties%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="-vector2-d/index.html">Vector2D</a><span class="token punctuation">.</span><a href="r.html">r</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="1913477037%2FProperties%2F-1055449721" anchor-label="r" id="1913477037%2FProperties%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
|
|
<div class="main-subrow keyValue ">
|
|
<div class=""><span class="inline-flex">
|
|
<div><a href="r.html">r</a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1913477037%2FProperties%2F-1055449721"></span>
|
|
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
|
|
</span></span></div>
|
|
<div>
|
|
<div class="title">
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><a data-name="1913477037%2FProperties%2F-1055449721" anchor-label="r" id="1913477037%2FProperties%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="-vector3-d/index.html">Vector3D</a><span class="token punctuation">.</span><a href="r.html">r</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="footer"><span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2022 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span></div>
|
|
</div>
|
|
</div>
|
|
|
|
</body></html>
|
|
|
|
|