1769 lines
53 KiB
HTML
1769 lines
53 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Class DVec3d | HiAPI-C# 2025 </title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="title" content="Class DVec3d | HiAPI-C# 2025 ">
|
|
|
|
<meta name="description" content="Dual Vec3d with p() and n().">
|
|
<link rel="icon" href="../img/HiAPI.favicon.ico">
|
|
<link rel="stylesheet" href="../public/docfx.min.css">
|
|
<link rel="stylesheet" href="../public/main.css">
|
|
<meta name="docfx:navrel" content="../toc.html">
|
|
<meta name="docfx:tocrel" content="toc.html">
|
|
|
|
<meta name="docfx:rel" content="../">
|
|
|
|
|
|
|
|
<meta name="loc:inThisArticle" content="In this article">
|
|
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
|
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
|
<meta name="loc:tocFilter" content="Filter by title">
|
|
<meta name="loc:nextArticle" content="Next">
|
|
<meta name="loc:prevArticle" content="Previous">
|
|
<meta name="loc:themeLight" content="Light">
|
|
<meta name="loc:themeDark" content="Dark">
|
|
<meta name="loc:themeAuto" content="Auto">
|
|
<meta name="loc:changeTheme" content="Change theme">
|
|
<meta name="loc:copy" content="Copy">
|
|
<meta name="loc:downloadPdf" content="Download PDF">
|
|
|
|
<script type="module" src="./../public/docfx.min.js"></script>
|
|
|
|
<script>
|
|
const theme = localStorage.getItem('theme') || 'auto'
|
|
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
|
<header class="bg-body border-bottom">
|
|
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
|
<div class="container-xxl flex-nowrap">
|
|
<a class="navbar-brand" href="../index.html">
|
|
<img id="logo" class="svg" src="../img/HiAPI.logo.png" alt="">
|
|
|
|
</a>
|
|
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
|
<i class="bi bi-three-dots"></i>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navpanel">
|
|
<div id="navbar">
|
|
<form class="search" role="search" id="search">
|
|
<i class="bi bi-search"></i>
|
|
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="container-xxl">
|
|
<div class="toc-offcanvas">
|
|
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
|
<div class="offcanvas-header">
|
|
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
|
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
|
</div>
|
|
<div class="offcanvas-body">
|
|
<nav class="toc" id="toc"></nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<div class="actionbar">
|
|
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
|
<i class="bi bi-list"></i>
|
|
</button>
|
|
|
|
<nav id="breadcrumb"></nav>
|
|
</div>
|
|
|
|
<article data-uid="Hi.Geom.DVec3d">
|
|
|
|
|
|
|
|
<h1 id="Hi_Geom_DVec3d" data-uid="Hi.Geom.DVec3d" class="text-break">
|
|
Class DVec3d
|
|
</h1>
|
|
|
|
<div class="facts text-secondary">
|
|
<dl><dt>Namespace</dt><dd><a class="xref" href="Hi.html">Hi</a>.<a class="xref" href="Hi.Geom.html">Geom</a></dd></dl>
|
|
<dl><dt>Assembly</dt><dd>HiGeom.dll</dd></dl>
|
|
</div>
|
|
|
|
<div class="markdown summary"><p>Dual Vec3d with p(<a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a>) and n(<a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a>).</p>
|
|
</div>
|
|
<div class="markdown conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public class DVec3d : IEquatable<DVec3d>, IWriteBin, IEqualityOperators<DVec3d, DVec3d, bool>, IAdditionOperators<DVec3d, DVec3d, DVec3d>, ISubtractionOperators<DVec3d, DVec3d, DVec3d>, IMultiplyOperators<DVec3d, double, DVec3d>, IMultiplyOperators<DVec3d, Mat4d, DVec3d>, IDivisionOperators<DVec3d, double, DVec3d>, IVec<double>, IFormattable</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<dl class="typelist inheritance">
|
|
<dt>Inheritance</dt>
|
|
<dd>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
|
<div><span class="xref">DVec3d</span></div>
|
|
</dd>
|
|
</dl>
|
|
|
|
<dl class="typelist implements">
|
|
<dt>Implements</dt>
|
|
<dd>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iequatable-1">IEquatable</a><<a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>></div>
|
|
<div><a class="xref" href="Hi.Common.IWriteBin.html">IWriteBin</a></div>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.iequalityoperators-3">IEqualityOperators</a><<a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>, <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a>></div>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.iadditionoperators-3">IAdditionOperators</a><<a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>, <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>, <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>></div>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.isubtractionoperators-3">ISubtractionOperators</a><<a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>, <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>, <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>></div>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.imultiplyoperators-3">IMultiplyOperators</a><<a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>, <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>></div>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.imultiplyoperators-3">IMultiplyOperators</a><<a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>, <a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a>, <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>></div>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.numerics.idivisionoperators-3">IDivisionOperators</a><<a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>, <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>></div>
|
|
<div><a class="xref" href="Hi.Geom.IVec-1.html">IVec</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>></div>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iformattable">IFormattable</a></div>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<dl class="typelist inheritedMembers">
|
|
<dt>Inherited Members</dt>
|
|
<dd>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
|
</div>
|
|
</dd></dl>
|
|
|
|
<dl class="typelist extensionMethods">
|
|
<dt>Extension Methods</dt>
|
|
<dd>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.BinIoUtil.html#Hi_Common_BinIoUtil_ToBytes_Hi_Common_IWriteBin_">BinIoUtil.ToBytes(IWriteBin)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.DuplicateUtil.html#Hi_Common_DuplicateUtil_TryDuplicate__1___0_System_Object___">DuplicateUtil.TryDuplicate<TSelf>(TSelf, params object[])</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__1___0_System_Action___0__">InvokeUtil.SelfInvoke<TSrc>(TSrc, Action<TSrc>)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.InvokeUtil.html#Hi_Common_InvokeUtil_SelfInvoke__2___0_System_Func___0___1__">InvokeUtil.SelfInvoke<TSrc, TDst>(TSrc, Func<TSrc, TDst>)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Coloring.ColorUtil.html#Hi_Coloring_ColorUtil_GetGloomyColor_System_Object_System_Double_System_Double_">ColorUtil.GetGloomyColor(object, double, double)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.NameUtil.html#Hi_Common_NameUtil_GetSelectionName_System_Object_">NameUtil.GetSelectionName(object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Common.StringUtil.html#Hi_Common_StringUtil_GetPropertyStringIfToStringNotOverloaded_System_Object_System_Boolean_System_Boolean_">StringUtil.GetPropertyStringIfToStringNotOverloaded(object, bool, bool)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="Hi.Parallels.LockUtil.html#Hi_Parallels_LockUtil_Lock_System_Object_">LockUtil.Lock(object)</a>
|
|
</div>
|
|
</dd></dl>
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="constructors">Constructors
|
|
</h2>
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d__ctor_" data-uid="Hi.Geom.DVec3d.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d__ctor" data-uid="Hi.Geom.DVec3d.#ctor">
|
|
DVec3d()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Ctor. The members are initialized to null.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public DVec3d()</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d__ctor_" data-uid="Hi.Geom.DVec3d.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d__ctor_Hi_Geom_DVec3d_System_Boolean_" data-uid="Hi.Geom.DVec3d.#ctor(Hi.Geom.DVec3d,System.Boolean)">
|
|
DVec3d(DVec3d, bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a> class by copying another DVec3d.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public DVec3d(DVec3d src, bool shareFields = false)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>src</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The source DVec3d to copy from.</p>
|
|
</dd>
|
|
<dt><code>shareFields</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p>If true, references to the source Point and Normal are used; otherwise, new instances are created with copied values.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d__ctor_" data-uid="Hi.Geom.DVec3d.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d__ctor_Hi_Geom_Mat4d_" data-uid="Hi.Geom.DVec3d.#ctor(Hi.Geom.Mat4d)">
|
|
DVec3d(Mat4d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Ctor.
|
|
set <code class="paramref">mat</code>[12] to <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_x">x</a>;
|
|
set <code class="paramref">mat</code>[13] to <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_y">y</a>;
|
|
set <code class="paramref">mat</code>[14] to <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_z">z</a>;
|
|
set <code class="paramref">mat</code>[8] to <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_x">x</a>;
|
|
set <code class="paramref">mat</code>[9] to <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_y">y</a>;
|
|
set <code class="paramref">mat</code>[10] to <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_z">z</a>;</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public DVec3d(Mat4d mat)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>mat</code> <a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a></dt>
|
|
<dd><p>matrix</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d__ctor_" data-uid="Hi.Geom.DVec3d.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d__ctor_Hi_Geom_Vec3d_Hi_Geom_Vec3d_" data-uid="Hi.Geom.DVec3d.#ctor(Hi.Geom.Vec3d,Hi.Geom.Vec3d)">
|
|
DVec3d(Vec3d, Vec3d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Ctor.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public DVec3d(Vec3d p, Vec3d n)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>p</code> <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a></p>
|
|
</dd>
|
|
<dt><code>n</code> <a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a></p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d__ctor_" data-uid="Hi.Geom.DVec3d.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d__ctor_System_Collections_Generic_IEnumerable_System_Double__" data-uid="Hi.Geom.DVec3d.#ctor(System.Collections.Generic.IEnumerable{System.Double})">
|
|
DVec3d(IEnumerable<double>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a> class from an enumerable collection of doubles.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public DVec3d(IEnumerable<double> src)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>></dt>
|
|
<dd><p>The source collection containing at least 6 double values. The first 3 values initialize the Point, and the last 3 values initialize the Normal.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d__ctor_" data-uid="Hi.Geom.DVec3d.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d__ctor_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_" data-uid="Hi.Geom.DVec3d.#ctor(System.Double,System.Double,System.Double,System.Double,System.Double,System.Double)">
|
|
DVec3d(double, double, double, double, double, double)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Ctor.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public DVec3d(double px, double py, double pz, double nx, double ny, double nz)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>px</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_x">x</a></p>
|
|
</dd>
|
|
<dt><code>py</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_y">y</a></p>
|
|
</dd>
|
|
<dt><code>pz</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_z">z</a></p>
|
|
</dd>
|
|
<dt><code>nx</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_x">x</a></p>
|
|
</dd>
|
|
<dt><code>ny</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_y">y</a></p>
|
|
</dd>
|
|
<dt><code>nz</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_z">z</a></p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d__ctor_" data-uid="Hi.Geom.DVec3d.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d__ctor_System_Double___" data-uid="Hi.Geom.DVec3d.#ctor(System.Double[])">
|
|
DVec3d(double[])
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Ctor.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public DVec3d(double[] src)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>src</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>[]</dt>
|
|
<dd><p>Array elements 0,1,2 initialize <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a> x,y,z;
|
|
Array elements 3,4,5 initialize <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a> x,y,z</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d__ctor_" data-uid="Hi.Geom.DVec3d.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d__ctor_System_Func_System_Int32_System_Double__" data-uid="Hi.Geom.DVec3d.#ctor(System.Func{System.Int32,System.Double})">
|
|
DVec3d(Func<int, double>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a> class using a function that maps indices to values.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public DVec3d(Func<int, double> dirToValueFunc)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>dirToValueFunc</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.func-2">Func</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>, <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>></dt>
|
|
<dd><p>A function that takes an index (0-5) and returns the corresponding coordinate value. Indices 0-2 are for Point coordinates, and 3-5 are for Normal coordinates.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d__ctor_" data-uid="Hi.Geom.DVec3d.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d__ctor_System_IO_BinaryReader_" data-uid="Hi.Geom.DVec3d.#ctor(System.IO.BinaryReader)">
|
|
DVec3d(BinaryReader)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a> class from binary data.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public DVec3d(BinaryReader reader)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>reader</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.binaryreader">BinaryReader</a></dt>
|
|
<dd><p>The binary reader to read the data from.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d__ctor_" data-uid="Hi.Geom.DVec3d.#ctor*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d__ctor_System_String_" data-uid="Hi.Geom.DVec3d.#ctor(System.String)">
|
|
DVec3d(string)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Ctor.
|
|
The reading format is ((x,y,z),(x,y,z)),
|
|
the first xyz is for <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a>;
|
|
the second xyz is for <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a>.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public DVec3d(string str)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>str</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>string</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<dl class="typelist seealso">
|
|
<dt>See Also</dt>
|
|
<dd>
|
|
<div><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_ToString">ToString()</a></div>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
<h2 class="section" id="properties">Properties
|
|
</h2>
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_ElementNum_" data-uid="Hi.Geom.DVec3d.ElementNum*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_ElementNum" data-uid="Hi.Geom.DVec3d.ElementNum">
|
|
ElementNum
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Element number: 6 for (Point(x,y,z),Normal(x,y,z)).</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static int ElementNum { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_IsAllNaN_" data-uid="Hi.Geom.DVec3d.IsAllNaN*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_IsAllNaN" data-uid="Hi.Geom.DVec3d.IsAllNaN">
|
|
IsAllNaN
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a value indicating whether all components of both Point and Normal are NaN.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool IsAllNaN { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_IsFinite_" data-uid="Hi.Geom.DVec3d.IsFinite*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_IsFinite" data-uid="Hi.Geom.DVec3d.IsFinite">
|
|
IsFinite
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a value indicating whether all components of both Point and Normal are finite.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool IsFinite { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_Item_" data-uid="Hi.Geom.DVec3d.Item*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_Item_System_Int32_" data-uid="Hi.Geom.DVec3d.Item(System.Int32)">
|
|
this[int]
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets or sets the element at the specified index.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public double this[int index] { get; set; }</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>index</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
|
<dd><p>The zero-based index of the element to get or set.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p>The element at the specified index.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_NaN_" data-uid="Hi.Geom.DVec3d.NaN*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_NaN" data-uid="Hi.Geom.DVec3d.NaN">
|
|
NaN
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a DVec3d with all components set to NaN.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static DVec3d NaN { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_Normal_" data-uid="Hi.Geom.DVec3d.Normal*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_Normal" data-uid="Hi.Geom.DVec3d.Normal">
|
|
Normal
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Normal.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Vec3d Normal { get; set; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_Point_" data-uid="Hi.Geom.DVec3d.Point*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_Point" data-uid="Hi.Geom.DVec3d.Point">
|
|
Point
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Point.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public Vec3d Point { get; set; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.Vec3d.html">Vec3d</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_Rank_" data-uid="Hi.Geom.DVec3d.Rank*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_Rank" data-uid="Hi.Geom.DVec3d.Rank">
|
|
Rank
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Dimension (i.e. Size) of the Vector.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public int Rank { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_Zero_" data-uid="Hi.Geom.DVec3d.Zero*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_Zero" data-uid="Hi.Geom.DVec3d.Zero">
|
|
Zero
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a DVec3d with all components set to zero.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static DVec3d Zero { get; }</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section">Property Value</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="methods">Methods
|
|
</h2>
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_At_" data-uid="Hi.Geom.DVec3d.At*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_At_System_Int32_" data-uid="Hi.Geom.DVec3d.At(System.Int32)">
|
|
At(int)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Gets a reference to the component at the specified index.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public ref double At(int dir)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>dir</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
|
<dd><p>The index of the component to access (0-5). Indices 0-2 access Point coordinates (x,y,z), and indices 3-5 access Normal coordinates (x,y,z).</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p>A reference to the specified component.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_Enumerate_" data-uid="Hi.Geom.DVec3d.Enumerate*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_Enumerate" data-uid="Hi.Geom.DVec3d.Enumerate">
|
|
Enumerate()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>For each. <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a> first. <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a> second.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public IEnumerable<double> Enumerate()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_Equals_" data-uid="Hi.Geom.DVec3d.Equals*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_Equals_Hi_Geom_DVec3d_" data-uid="Hi.Geom.DVec3d.Equals(Hi.Geom.DVec3d)">
|
|
Equals(DVec3d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Indicates whether the current object is equal to another object of the same type.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public bool Equals(DVec3d other)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>other</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>An object to compare with this object.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the current object is equal to the <code class="paramref">other</code> parameter; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_Equals_" data-uid="Hi.Geom.DVec3d.Equals*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_Equals_System_Object_" data-uid="Hi.Geom.DVec3d.Equals(System.Object)">
|
|
Equals(object)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Determines whether the specified object is equal to the current object.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public override bool Equals(object obj)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>obj</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></dt>
|
|
<dd><p>The object to compare with the current object.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if the specified object is equal to the current object; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_GenNaN_" data-uid="Hi.Geom.DVec3d.GenNaN*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_GenNaN" data-uid="Hi.Geom.DVec3d.GenNaN">
|
|
GenNaN()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Creates a new DVec3d with all components set to NaN.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static DVec3d GenNaN()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>A new DVec3d with all components set to NaN.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_GenZero_" data-uid="Hi.Geom.DVec3d.GenZero*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_GenZero" data-uid="Hi.Geom.DVec3d.GenZero">
|
|
GenZero()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Creates a new DVec3d with all components set to zero.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static DVec3d GenZero()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>A new DVec3d with all components set to zero.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_GetHashCode_" data-uid="Hi.Geom.DVec3d.GetHashCode*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_GetHashCode" data-uid="Hi.Geom.DVec3d.GetHashCode">
|
|
GetHashCode()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Serves as the default hash function.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public override int GetHashCode()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
|
|
<dd><p>A hash code for the current object.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_Interpolate_" data-uid="Hi.Geom.DVec3d.Interpolate*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_Interpolate_Hi_Geom_DVec3d_Hi_Geom_DVec3d_System_Double_" data-uid="Hi.Geom.DVec3d.Interpolate(Hi.Geom.DVec3d,Hi.Geom.DVec3d,System.Double)">
|
|
Interpolate(DVec3d, DVec3d, double)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Interpolates between two DVec3d instances.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static DVec3d Interpolate(DVec3d a, DVec3d b, double ratio)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>a</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The first DVec3d.</p>
|
|
</dd>
|
|
<dt><code>b</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The second DVec3d.</p>
|
|
</dd>
|
|
<dt><code>ratio</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p>The interpolation ratio (0.0 to 1.0).</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>A new DVec3d interpolated between a and b.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_Set_" data-uid="Hi.Geom.DVec3d.Set*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_Set_Hi_Geom_DVec3d_System_Boolean_" data-uid="Hi.Geom.DVec3d.Set(Hi.Geom.DVec3d,System.Boolean)">
|
|
Set(DVec3d, bool)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Sets the values of this instance from another DVec3d.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Set(DVec3d src, bool shareFields = false)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>src</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The source DVec3d to copy values from.</p>
|
|
</dd>
|
|
<dt><code>shareFields</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p>If true, references to the source Point and Normal are used; otherwise, their values are copied.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_Set_" data-uid="Hi.Geom.DVec3d.Set*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_Set_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double_" data-uid="Hi.Geom.DVec3d.Set(System.Double,System.Double,System.Double,System.Double,System.Double,System.Double)">
|
|
Set(double, double, double, double, double, double)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Call <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_Set_System_Double_System_Double_System_Double_">Set(double, double, double)</a>
|
|
and <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_Set_System_Double_System_Double_System_Double_">Set(double, double, double)</a>
|
|
to set the values.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void Set(double px, double py, double pz, double nx, double ny, double nz)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>px</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_x">x</a></p>
|
|
</dd>
|
|
<dt><code>py</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_y">y</a></p>
|
|
</dd>
|
|
<dt><code>pz</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_z">z</a></p>
|
|
</dd>
|
|
<dt><code>nx</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_x">x</a></p>
|
|
</dd>
|
|
<dt><code>ny</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_y">y</a></p>
|
|
</dd>
|
|
<dt><code>nz</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd><p><a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a>.<a class="xref" href="Hi.Geom.Vec3d.html#Hi_Geom_Vec3d_z">z</a></p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h4 class="section" id="Hi_Geom_DVec3d_Set_System_Double_System_Double_System_Double_System_Double_System_Double_System_Double__remarks">Remarks</h4>
|
|
<div class="markdown level1 remarks"><p>If the <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Point">Point</a> or <a class="xref" href="Hi.Geom.DVec3d.html#Hi_Geom_DVec3d_Normal">Normal</a> is null, the function will corrupt.</p>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_SetEachValueAbs_" data-uid="Hi.Geom.DVec3d.SetEachValueAbs*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_SetEachValueAbs" data-uid="Hi.Geom.DVec3d.SetEachValueAbs">
|
|
SetEachValueAbs()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Sets each component of both Point and Normal to its absolute value.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public DVec3d SetEachValueAbs()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>This instance after the operation.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_ToString_" data-uid="Hi.Geom.DVec3d.ToString*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_ToString" data-uid="Hi.Geom.DVec3d.ToString">
|
|
ToString()
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Returns a string that represents the current object.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public override string ToString()</code></pre>
|
|
</div>
|
|
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>A string that represents the current object.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_ToString_" data-uid="Hi.Geom.DVec3d.ToString*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_ToString_System_String_" data-uid="Hi.Geom.DVec3d.ToString(System.String)">
|
|
ToString(string)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Returns a string representation of this DVec3d using the specified format for component values.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string ToString(string format)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>format</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>The format string to use for component values.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>A string representation of this DVec3d.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_ToString_" data-uid="Hi.Geom.DVec3d.ToString*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_ToString_System_String_System_IFormatProvider_" data-uid="Hi.Geom.DVec3d.ToString(System.String,System.IFormatProvider)">
|
|
ToString(string, IFormatProvider)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Returns a string representation of the dual vector formatted according to the specified format.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public string ToString(string format, IFormatProvider formatProvider)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>format</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>The format to use for each component</p>
|
|
</dd>
|
|
<dt><code>formatProvider</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.iformatprovider">IFormatProvider</a></dt>
|
|
<dd><p>The format provider to use</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.string">string</a></dt>
|
|
<dd><p>A formatted string representation of the dual vector</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_WriteBin_" data-uid="Hi.Geom.DVec3d.WriteBin*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_WriteBin_System_IO_BinaryWriter_" data-uid="Hi.Geom.DVec3d.WriteBin(System.IO.BinaryWriter)">
|
|
WriteBin(BinaryWriter)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Writes the object's data to a binary stream.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public void WriteBin(BinaryWriter writer)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>writer</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.io.binarywriter">BinaryWriter</a></dt>
|
|
<dd><p>The binary writer to write to</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="operators">Operators
|
|
</h2>
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_op_Addition_" data-uid="Hi.Geom.DVec3d.op_Addition*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_op_Addition_Hi_Geom_DVec3d_Hi_Geom_DVec3d_" data-uid="Hi.Geom.DVec3d.op_Addition(Hi.Geom.DVec3d,Hi.Geom.DVec3d)">
|
|
operator +(DVec3d, DVec3d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Adds two values together to compute their sum.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static DVec3d operator +(DVec3d a, DVec3d b)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>a</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd></dd>
|
|
<dt><code>b</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The sum of <code class="paramref">left</code> and <code class="paramref">right</code>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_op_Division_" data-uid="Hi.Geom.DVec3d.op_Division*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_op_Division_Hi_Geom_DVec3d_System_Double_" data-uid="Hi.Geom.DVec3d.op_Division(Hi.Geom.DVec3d,System.Double)">
|
|
operator /(DVec3d, double)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Divides one value by another to compute their quotient.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static DVec3d operator /(DVec3d src, double s)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>src</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd></dd>
|
|
<dt><code>s</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The quotient of <code class="paramref">left</code> divided by <code class="paramref">right</code>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_op_Equality_" data-uid="Hi.Geom.DVec3d.op_Equality*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_op_Equality_Hi_Geom_DVec3d_Hi_Geom_DVec3d_" data-uid="Hi.Geom.DVec3d.op_Equality(Hi.Geom.DVec3d,Hi.Geom.DVec3d)">
|
|
operator ==(DVec3d, DVec3d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Compares two values to determine equality.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static bool operator ==(DVec3d left, DVec3d right)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>left</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The value to compare with <code class="paramref">right</code>.</p>
|
|
</dd>
|
|
<dt><code>right</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The value to compare with <code class="paramref">left</code>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if <code class="paramref">left</code> is equal to <code class="paramref">right</code>; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_op_Inequality_" data-uid="Hi.Geom.DVec3d.op_Inequality*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_op_Inequality_Hi_Geom_DVec3d_Hi_Geom_DVec3d_" data-uid="Hi.Geom.DVec3d.op_Inequality(Hi.Geom.DVec3d,Hi.Geom.DVec3d)">
|
|
operator !=(DVec3d, DVec3d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Compares two values to determine inequality.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static bool operator !=(DVec3d left, DVec3d right)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>left</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The value to compare with <code class="paramref">right</code>.</p>
|
|
</dd>
|
|
<dt><code>right</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The value to compare with <code class="paramref">left</code>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
|
|
<dd><p><a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">true</a> if <code class="paramref">left</code> is not equal to <code class="paramref">right</code>; otherwise, <a href="https://learn.microsoft.com/dotnet/csharp/language-reference/builtin-types/bool">false</a>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_op_Multiply_" data-uid="Hi.Geom.DVec3d.op_Multiply*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_op_Multiply_Hi_Geom_DVec3d_Hi_Geom_Mat4d_" data-uid="Hi.Geom.DVec3d.op_Multiply(Hi.Geom.DVec3d,Hi.Geom.Mat4d)">
|
|
operator *(DVec3d, Mat4d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Multiplies two values together to compute their product.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static DVec3d operator *(DVec3d a, Mat4d b)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>a</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd></dd>
|
|
<dt><code>b</code> <a class="xref" href="Hi.Geom.Mat4d.html">Mat4d</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The product of <code class="paramref">left</code> multiplied by <code class="paramref">right</code>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_op_Multiply_" data-uid="Hi.Geom.DVec3d.op_Multiply*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_op_Multiply_Hi_Geom_DVec3d_System_Double_" data-uid="Hi.Geom.DVec3d.op_Multiply(Hi.Geom.DVec3d,System.Double)">
|
|
operator *(DVec3d, double)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Multiplies two values together to compute their product.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static DVec3d operator *(DVec3d src, double s)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>src</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd></dd>
|
|
<dt><code>s</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The product of <code class="paramref">left</code> multiplied by <code class="paramref">right</code>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_op_Subtraction_" data-uid="Hi.Geom.DVec3d.op_Subtraction*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_op_Subtraction_Hi_Geom_DVec3d_Hi_Geom_DVec3d_" data-uid="Hi.Geom.DVec3d.op_Subtraction(Hi.Geom.DVec3d,Hi.Geom.DVec3d)">
|
|
operator -(DVec3d, DVec3d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Subtracts two values to compute their difference.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static DVec3d operator -(DVec3d a, DVec3d b)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>a</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd></dd>
|
|
<dt><code>b</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>The value of <code class="paramref">right</code> subtracted from <code class="paramref">left</code>.</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Hi_Geom_DVec3d_op_UnaryNegation_" data-uid="Hi.Geom.DVec3d.op_UnaryNegation*"></a>
|
|
|
|
<h3 id="Hi_Geom_DVec3d_op_UnaryNegation_Hi_Geom_DVec3d_" data-uid="Hi.Geom.DVec3d.op_UnaryNegation(Hi.Geom.DVec3d)">
|
|
operator -(DVec3d)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"><p>Create a negate <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a>.
|
|
The field objects are created, i.e. the field objects are not shared with <code>this</code>.</p>
|
|
</div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static DVec3d operator -(DVec3d src)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>src</code> <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>src</p>
|
|
</dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></dt>
|
|
<dd><p>negate <a class="xref" href="Hi.Geom.DVec3d.html">DVec3d</a></p>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
<div class="contribution d-print-none">
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="affix">
|
|
<nav id="affix"></nav>
|
|
</div>
|
|
</main>
|
|
|
|
<div class="container-xxl search-results" id="search-results"></div>
|
|
|
|
<footer class="border-top text-secondary">
|
|
<div class="container-xxl">
|
|
<div class="flex-fill">
|
|
<span> Copyright © 2025 <a href='https://superhightech.com.tw'>Tech Coordinate</a>. All rights reserved. <a href='https://superhightech.com.tw'>超級高科技股份有限公司</a> © 2025 版權所有 </span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|