forked from kscience/kmath
549 lines
71 KiB
HTML
549 lines
71 KiB
HTML
<!doctype html>
|
|
<html>
|
|
<head>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
|
|
<title>Euclidean3DSpace</title>
|
|
<link href="../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script> <script>const storage = localStorage.getItem("dokka-dark-mode")
|
|
if (storage == null) {
|
|
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
|
|
if (osDarkSchemePreferred === true) {
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
}
|
|
} else {
|
|
const savedDarkMode = JSON.parse(storage)
|
|
if(savedDarkMode === true) {
|
|
document.getElementsByTagName("html")[0].classList.add("theme-dark")
|
|
}
|
|
}
|
|
</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 type="text/javascript" src="../../../scripts/symbol-parameters-wrapper_deferred.js" defer></script></head>
|
|
<body>
|
|
<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>0.3.1-dev-RC
|
|
</div>
|
|
<div class="pull-right d-flex">
|
|
<div class="filter-section" id="filter-section">
|
|
<button class="platform-tag platform-selector common-like" data-active="" data-filter=":kmath-geometry:dokkaHtmlPartial/commonMain">common</button>
|
|
</div>
|
|
<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" data-page-type="classlike" id="content" pageids="kmath-geometry::space.kscience.kmath.geometry/Euclidean3DSpace///PointingToDeclaration//-1055449721">
|
|
<div class="breadcrumbs"><a href="../../index.html">kmath-geometry</a><span class="delimiter">/</span><a href="../index.html">space.kscience.kmath.geometry</a><span class="delimiter">/</span><span class="current">Euclidean3DSpace</span></div>
|
|
<div class="cover ">
|
|
<h1 class="cover"><span><span>Euclidean3DSpace</span></span></h1>
|
|
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="index.html">Euclidean3DSpace</a> : <a href="../-geometry-space/index.html">GeometrySpace</a><span class="token operator"><</span><span class="token keyword"></span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</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="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token operator">> </span>, <a href="../../../kmath-core/space.kscience.kmath.operations/-norm/index.html">Norm</a><span class="token operator"><</span><span class="token keyword"></span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">, </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><span class="clearfix"><span class="floating-right">(<a href="https://github.com/SciProgCentre/kmath/tree/master/kmath-geometry/src/commonMain/kotlin/space/kscience/kmath/geometry/Euclidean3DSpace.kt#L58">source</a>)</span></span></div></div></div>
|
|
</div>
|
|
<div class="tabbedcontent">
|
|
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="CONSTRUCTOR,TYPE,FUNCTION,PROPERTY">Members</button><button class="section-tab" data-togglable="CONSTRUCTOR,TYPE,FUNCTION,PROPERTY,EXTENSION_PROPERTY,EXTENSION_FUNCTION">Members & Extensions</button></div>
|
|
<div class="tabs-section-body">
|
|
<div data-togglable="TYPE">
|
|
<h2 class="">Types</h2>
|
|
<div class="table"><a data-name="-1633257734%2FClasslikes%2F-1055449721" anchor-label="VectorSerializer" id="-1633257734%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-serializer/index.html"><span>Vector</span><wbr><span><span>Serializer</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1633257734%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-vector-serializer/index.html">VectorSerializer</a> : <span data-unresolved-link="kotlinx.serialization/KSerializer///PointingToDeclaration/">KSerializer</span><span class="token operator"><</span><span class="token keyword"></span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token operator">> </span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div data-togglable="FUNCTION">
|
|
<h2 class="">Functions</h2>
|
|
<div class="table"><a data-name="652556258%2FFunctions%2F-1055449721" anchor-label="add" id="652556258%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="add.html"><span><span>add</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="652556258%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="add.html"><span class="token function">add</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">left<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">, </span></span><span class="parameter ">right<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="1706506157%2FFunctions%2F-1055449721" anchor-label="binaryOperation" id="1706506157%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="index.html#1706506157%2FFunctions%2F-1055449721"><span>binary</span><wbr><span><span>Operation</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1706506157%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="index.html#1706506157%2FFunctions%2F-1055449721"><span class="token function">binaryOperation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">operation<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">left<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">, </span></span><span class="parameter ">right<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1798861340%2FFunctions%2F-1055449721" anchor-label="binaryOperationFunction" id="-1798861340%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="../-geometry-space/index.html#-1798861340%2FFunctions%2F-1055449721"><span>binary</span><wbr><span>Operation</span><wbr><span><span>Function</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1798861340%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="../-geometry-space/index.html#-1798861340%2FFunctions%2F-1055449721"><span class="token function">binaryOperationFunction</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">operation<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1727912674%2FFunctions%2F-1055449721" anchor-label="bindSymbol" id="-1727912674%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="../-geometry-space/index.html#-1727912674%2FFunctions%2F-1055449721"><span>bind</span><wbr><span><span>Symbol</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1727912674%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="../-geometry-space/index.html#-1727912674%2FFunctions%2F-1055449721"><span class="token function">bindSymbol</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="915741320%2FFunctions%2F-1055449721" anchor-label="bindSymbolOrNull" id="915741320%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="../-geometry-space/index.html#915741320%2FFunctions%2F-1055449721"><span>bind</span><wbr><span>Symbol</span><wbr><span>Or</span><wbr><span><span>Null</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="915741320%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="../-geometry-space/index.html#915741320%2FFunctions%2F-1055449721"><span class="token function">bindSymbolOrNull</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">value<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token operator">?</span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="2122054914%2FFunctions%2F-1055449721" anchor-label="cross" id="2122054914%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" 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="cross.html"><span><span>cross</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2122054914%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">infix </span><span class="token keyword">fun </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">.</span><a href="cross.html"><span class="token function">cross</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">other<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-vector3-d/index.html">Vector3D</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></div><div class="brief "><p class="paragraph">Vector product with right basis</p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-383017396%2FFunctions%2F-1055449721" anchor-label="distanceTo" id="-383017396%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" 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="distance-to.html"><span>distance</span><wbr><span><span>To</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-383017396%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">.</span><a href="distance-to.html"><span class="token function">distanceTo</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">other<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a></div><div class="brief "><p class="paragraph">L2 distance</p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="866745982%2FFunctions%2F-1055449721" anchor-label="div" id="866745982%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" 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#866745982%2FExtensions%2F-1055449721"><span><span>div</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="866745982%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator </span><span class="token keyword">fun </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">.</span><a href="index.html#866745982%2FExtensions%2F-1055449721"><span class="token function">div</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">k<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="10284057%2FFunctions%2F-1055449721" anchor-label="dot" id="10284057%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" 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="dot.html"><span><span>dot</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="10284057%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">infix override </span><span class="token keyword">fun </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">.</span><a href="dot.html"><span class="token function">dot</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">other<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a></div><div class="brief "><p class="paragraph">Scalar product</p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-178899127%2FFunctions%2F-1055449721" anchor-label="export" id="-178899127%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="index.html#-178899127%2FFunctions%2F-1055449721"><span><span>export</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-178899127%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="index.html#-178899127%2FFunctions%2F-1055449721"><span class="token function">export</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">arg<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="605275408%2FFunctions%2F-1055449721" anchor-label="minus" id="605275408%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" 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#605275408%2FExtensions%2F-1055449721"><span><span>minus</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="605275408%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator </span><span class="token keyword">fun </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">.</span><a href="index.html#605275408%2FExtensions%2F-1055449721"><span class="token function">minus</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">arg<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1555804398%2FFunctions%2F-1055449721" anchor-label="norm" id="-1555804398%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="norm.html"><span><span>norm</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1555804398%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="norm.html"><span class="token function">norm</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">arg<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="240171728%2FFunctions%2F-1055449721" anchor-label="norm" id="240171728%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" 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="norm.html"><span><span>norm</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="240171728%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-dependent-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="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">.</span><a href="norm.html"><span class="token function">norm</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="1132696964%2FFunctions%2F-1055449721" anchor-label="plus" id="1132696964%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" 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#1132696964%2FExtensions%2F-1055449721"><span><span>plus</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1132696964%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator </span><span class="token keyword">fun </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">.</span><a href="index.html#1132696964%2FExtensions%2F-1055449721"><span class="token function">plus</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">arg<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<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-togglable="EXTENSION_FUNCTION" 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-dependent-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><span class="parameters "><span class="parameter ">vector<span class="token operator">: </span><a href="../project-along.html">V</a><span class="token punctuation">, </span></span><span class="parameter ">normal<span class="token operator">: </span><a href="../project-along.html">V</a><span class="token punctuation">, </span></span><span class="parameter ">base<span class="token operator">: </span><a href="../project-along.html">V</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../project-along.html">V</a></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-togglable="EXTENSION_FUNCTION" 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-dependent-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><span class="parameters "><span class="parameter ">vector<span class="token operator">: </span><a href="../project-to-line.html">V</a><span class="token punctuation">, </span></span><span class="parameter ">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></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../project-to-line.html">V</a></div><div class="brief "><p class="paragraph">Project vector onto a line.</p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-239144393%2FFunctions%2F-1055449721" anchor-label="rotate" id="-239144393%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" 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="../rotate.html"><span><span>rotate</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-239144393%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="../../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html"><span class="token annotation builtin">UnstableKMathAPI</span></a></div></div><span class="token keyword"></span><span class="token keyword">fun </span><a href="index.html">Euclidean3DSpace</a><span class="token punctuation">.</span><a href="../rotate.html"><span class="token function">rotate</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">vector<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">, </span></span><span class="parameter ">composition<span class="token operator">: </span><span class="token keyword"></span><a href="../../../kmath-complex/space.kscience.kmath.complex/-quaternion-field/index.html">QuaternionField</a><span class="token punctuation">.</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="../../../kmath-complex/space.kscience.kmath.complex/-quaternion/index.html">Quaternion</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div><div class="brief "><p class="paragraph">Use a composition of quaternions to create a rotation</p></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="index.html">Euclidean3DSpace</a><span class="token punctuation">.</span><a href="../rotate.html"><span class="token function">rotate</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">vector<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">, </span></span><span class="parameter ">q<span class="token operator">: </span><a href="../../../kmath-complex/space.kscience.kmath.complex/-quaternion/index.html">Quaternion</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div><div class="brief "><p class="paragraph">Rotate a vector in a <a href="index.html">Euclidean3DSpace</a></p></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="index.html">Euclidean3DSpace</a><span class="token punctuation">.</span><a href="../rotate.html"><span class="token function">rotate</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">vector<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">, </span></span><span class="parameter ">matrix<span class="token operator">: </span><a href="../../../kmath-core/space.kscience.kmath.linear/-matrix/index.html">Matrix</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></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-523205089%2FFunctions%2F-1055449721" anchor-label="scale" id="-523205089%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="scale.html"><span><span>scale</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-523205089%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="scale.html"><span class="token function">scale</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">a<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">, </span></span><span class="parameter ">value<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="725507718%2FFunctions%2F-1055449721" anchor-label="times" id="725507718%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" 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#-1470368855%2FExtensions%2F-1055449721"><span><span>times</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="725507718%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator </span><span class="token keyword">fun </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a><span class="token punctuation">.</span><a href="index.html#-1470368855%2FExtensions%2F-1055449721"><span class="token function">times</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">arg<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator </span><span class="token keyword">fun </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">.</span><a href="index.html#112907689%2FExtensions%2F-1055449721"><span class="token function">times</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">k<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1720861547%2FFunctions%2F-1055449721" anchor-label="unaryMinus" id="-1720861547%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" 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="unary-minus.html"><span>unary</span><wbr><span><span>Minus</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1720861547%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator override </span><span class="token keyword">fun </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">.</span><a href="unary-minus.html"><span class="token function">unaryMinus</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="1260955058%2FFunctions%2F-1055449721" anchor-label="unaryOperation" id="1260955058%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="index.html#1260955058%2FFunctions%2F-1055449721"><span>unary</span><wbr><span><span>Operation</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1260955058%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">fun </span><a href="index.html#1260955058%2FFunctions%2F-1055449721"><span class="token function">unaryOperation</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">operation<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="token punctuation">, </span></span><span class="parameter ">arg<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="313021912%2FFunctions%2F-1055449721" anchor-label="unaryOperationFunction" id="313021912%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="../-geometry-space/index.html#313021912%2FFunctions%2F-1055449721"><span>unary</span><wbr><span>Operation</span><wbr><span><span>Function</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="313021912%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="../-geometry-space/index.html#313021912%2FFunctions%2F-1055449721"><span class="token function">unaryOperationFunction</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">operation<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">)</span><span class="token operator"> -> </span><span class="token keyword"></span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-1588266599%2FFunctions%2F-1055449721" anchor-label="unaryPlus" id="-1588266599%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
|
|
<div class="table-row" data-togglable="EXTENSION_FUNCTION" 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#-1588266599%2FExtensions%2F-1055449721"><span>unary</span><wbr><span><span>Plus</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1588266599%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-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator </span><span class="token keyword">fun </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">.</span><a href="index.html#-1588266599%2FExtensions%2F-1055449721"><span class="token function">unaryPlus</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-938110332%2FFunctions%2F-1055449721" anchor-label="vector" id="-938110332%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="vector.html"><span><span>vector</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-938110332%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-dependent-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="vector.html"><span class="token function">vector</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">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></span><span class="parameter ">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><span class="parameter ">z<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="vector.html"><span class="token function">vector</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">x<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a><span class="token punctuation">, </span></span><span class="parameter ">y<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a><span class="token punctuation">, </span></span><span class="parameter ">z<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="285361069%2FFunctions%2F-1055449721" anchor-label="vectorProduct" id="285361069%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="vector-product.html"><span>vector</span><wbr><span><span>Product</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="285361069%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-dependent-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="vector-product.html"><span class="token function">vectorProduct</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">first<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token punctuation">, </span></span><span class="parameter ">second<span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div><div class="brief "><p class="paragraph">Compute vector product of <a href="vector-product.html">first</a> and <a href="vector-product.html">second</a>. The basis assumed to be right-handed.</p></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div data-togglable="PROPERTY">
|
|
<h2 class="">Properties</h2>
|
|
<div class="table"><a data-name="-1107976939%2FProperties%2F-1055449721" anchor-label="bufferFactory" id="-1107976939%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="../-geometry-space/index.html#-1107976939%2FProperties%2F-1055449721"><span>buffer</span><wbr><span><span>Factory</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1107976939%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"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword"></span><span class="token keyword">val </span><a href="../-geometry-space/index.html#-1107976939%2FProperties%2F-1055449721">bufferFactory</a><span class="token operator">: </span><a href="../../../kmath-core/space.kscience.kmath.structures/-mutable-buffer-factory/index.html">MutableBufferFactory</a><span class="token operator"><</span><span class="token keyword"></span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a><span class="token operator">></span></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-2066413017%2FProperties%2F-1055449721" anchor-label="xAxis" id="-2066413017%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="x-axis.html"><span>x</span><wbr><span><span>Axis</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2066413017%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"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="x-axis.html">xAxis</a><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-2055096890%2FProperties%2F-1055449721" anchor-label="yAxis" id="-2055096890%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="y-axis.html"><span>y</span><wbr><span><span>Axis</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2055096890%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"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="y-axis.html">yAxis</a><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-2043780763%2FProperties%2F-1055449721" anchor-label="zAxis" id="-2043780763%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="z-axis.html"><span>z</span><wbr><span><span>Axis</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2043780763%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"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="z-axis.html">zAxis</a><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></div></div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<a data-name="-45969102%2FProperties%2F-1055449721" anchor-label="zero" id="-45969102%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="zero.html"><span><span>zero</span></span></a></div>
|
|
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-45969102%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"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">val </span><a href="zero.html">zero</a><span class="token operator">: </span><a href="../index.html#-644062505%2FClasslikes%2F-1055449721">DoubleVector3D</a></div></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>© 2023 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>
|
|
|