This commit is contained in:
2020-01-23 23:13:36 -08:00
parent dcc0df955e
commit 2bc9ebdc6b
31829 changed files with 1229378 additions and 17 deletions

View File

@@ -0,0 +1,34 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `TAffine` enum in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, TAffine"><title>nalgebra::geometry::TAffine - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc enum"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Enum TAffine</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Eq">Eq</a><a href="#impl-Hash">Hash</a><a href="#impl-PartialEq%3CTAffine%3E">PartialEq&lt;TAffine&gt;</a><a href="#impl-SuperTCategoryOf%3CTAffine%3E">SuperTCategoryOf&lt;TAffine&gt;</a><a href="#impl-TCategory">TCategory</a><a href="#impl-TCategoryMul%3CTAffine%3E">TCategoryMul&lt;TAffine&gt;</a><a href="#impl-TCategoryMul%3CTGeneral%3E">TCategoryMul&lt;TGeneral&gt;</a><a href="#impl-TCategoryMul%3CTProjective%3E">TCategoryMul&lt;TProjective&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'TAffine', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#70' title='goto source code'>[src]</a></span><span class='in-band'>Enum <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="enum" href=''>TAffine</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust enum'>pub enum TAffine {}</pre></div><div class='docblock'><p>Tag representing an affine <code>Transform</code>. Its bottom-row is equal to <code>(0, 0 ... 0, 1)</code>.</p>
</div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-TCategory' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategory.html" title="trait nalgebra::geometry::TCategory">TCategory</a> for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-TCategory' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#94-111' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.has_normalizer' class="method hidden"><code id='has_normalizer.v'>fn <a href='../../nalgebra/geometry/trait.TCategory.html#method.has_normalizer' class='fnname'>has_normalizer</a>() -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#96-98' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Indicates whether a <code>Transform</code> with the category <code>Self</code> has a bottom-row different from <code>0 0 .. 1</code>. <a href="../../nalgebra/geometry/trait.TCategory.html#method.has_normalizer">Read more</a></p>
</div><h4 id='method.check_homogeneous_invariants' class="method hidden"><code id='check_homogeneous_invariants.v'>fn <a href='../../nalgebra/geometry/trait.TCategory.html#tymethod.check_homogeneous_invariants' class='fnname'>check_homogeneous_invariants</a>&lt;N:&nbsp;<a class="trait" href="../../nalgebra/trait.RealField.html" title="trait nalgebra::RealField">RealField</a>, D:&nbsp;<a class="trait" href="../../nalgebra/base/dimension/trait.DimName.html" title="trait nalgebra::base::dimension::DimName">DimName</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;mat: &amp;<a class="type" href="../../nalgebra/base/type.MatrixN.html" title="type nalgebra::base::MatrixN">MatrixN</a>&lt;N, D&gt;<br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;N::<a class="type" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type approx::abs_diff_eq::AbsDiffEq::Epsilon">Epsilon</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="../../nalgebra/base/default_allocator/struct.DefaultAllocator.html" title="struct nalgebra::base::default_allocator::DefaultAllocator">DefaultAllocator</a>: <a class="trait" href="../../nalgebra/base/allocator/trait.Allocator.html" title="trait nalgebra::base::allocator::Allocator">Allocator</a>&lt;N, D, D&gt;,&nbsp;</span></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#101-110' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Checks that the given matrix is a valid homogeneous representation of an element of the category <code>Self</code>. <a href="../../nalgebra/geometry/trait.TCategory.html#tymethod.check_homogeneous_invariants">Read more</a></p>
</div></div><h3 id='impl-TCategoryMul%3CTGeneral%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategoryMul.html" title="trait nalgebra::geometry::TCategoryMul">TCategoryMul</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-TCategoryMul%3CTGeneral%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#115-117' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Representative' class="type"><code id='Representative.t'>type <a href='../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative' class="type">Representative</a> = <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code></h4><div class='docblock'><p>The transform category that results from the multiplication of a <code>Transform&lt;Self&gt;</code> to a <code>Transform&lt;Other&gt;</code>. This is usually equal to <code>Self</code> or <code>Other</code>, whichever is the most general category. <a href="../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative">Read more</a></p>
</div></div><h3 id='impl-TCategoryMul%3CTProjective%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategoryMul.html" title="trait nalgebra::geometry::TCategoryMul">TCategoryMul</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-TCategoryMul%3CTProjective%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#115-117' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Representative-1' class="type"><code id='Representative.t-1'>type <a href='../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative' class="type">Representative</a> = <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code></h4><div class='docblock'><p>The transform category that results from the multiplication of a <code>Transform&lt;Self&gt;</code> to a <code>Transform&lt;Other&gt;</code>. This is usually equal to <code>Self</code> or <code>Other</code>, whichever is the most general category. <a href="../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative">Read more</a></p>
</div></div><h3 id='impl-TCategoryMul%3CTAffine%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategoryMul.html" title="trait nalgebra::geometry::TCategoryMul">TCategoryMul</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-TCategoryMul%3CTAffine%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#115-117' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Representative-2' class="type"><code id='Representative.t-2'>type <a href='../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative' class="type">Representative</a> = <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code></h4><div class='docblock'><p>The transform category that results from the multiplication of a <code>Transform&lt;Self&gt;</code> to a <code>Transform&lt;Other&gt;</code>. This is usually equal to <code>Self</code> or <code>Other</code>, whichever is the most general category. <a href="../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative">Read more</a></p>
</div></div><h3 id='impl-TCategoryMul%3CTAffine%3E-1' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategoryMul.html" title="trait nalgebra::geometry::TCategoryMul">TCategoryMul</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-TCategoryMul%3CTAffine%3E-1' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#115-117' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Representative-3' class="type"><code id='Representative.t-3'>type <a href='../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative' class="type">Representative</a> = <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code></h4><div class='docblock'><p>The transform category that results from the multiplication of a <code>Transform&lt;Self&gt;</code> to a <code>Transform&lt;Other&gt;</code>. This is usually equal to <code>Self</code> or <code>Other</code>, whichever is the most general category. <a href="../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative">Read more</a></p>
</div></div><h3 id='impl-SuperTCategoryOf%3CTAffine%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.SuperTCategoryOf.html" title="trait nalgebra::geometry::SuperTCategoryOf">SuperTCategoryOf</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-SuperTCategoryOf%3CTAffine%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#142' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-SuperTCategoryOf%3CTAffine%3E-1' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.SuperTCategoryOf.html" title="trait nalgebra::geometry::SuperTCategoryOf">SuperTCategoryOf</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-SuperTCategoryOf%3CTAffine%3E-1' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#142' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#69' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#69' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#69' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-PartialEq%3CTAffine%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-PartialEq%3CTAffine%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#69' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#69' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'><span class="docblock attributes">#[must_use]
</span>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#208' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#69' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#69' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#69' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#69' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#69' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3 id='impl-Same%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../../typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a>&lt;T&gt; for T</code><a href='#impl-Same%3CT%3E' class='anchor'></a><a class='srclink' href='../../src/typenum/type_operators.rs.html#32-34' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output' class="type"><code id='Output.t'>type <a href='../../typenum/type_operators/trait.Same.html#associatedtype.Output' class="type">Output</a> = T</code></h4><div class='docblock'><p>Should always be <code>Self</code></p>
</div></div><h3 id='impl-SupersetOf%3CSS%3E' class='impl'><code class='in-band'>impl&lt;SS, SP&gt; <a class="trait" href="../../alga/general/subset/trait.SupersetOf.html" title="trait alga::general::subset::SupersetOf">SupersetOf</a>&lt;SS&gt; for SP <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;SS: <a class="trait" href="../../alga/general/subset/trait.SubsetOf.html" title="trait alga::general::subset::SubsetOf">SubsetOf</a>&lt;SP&gt;,&nbsp;</span></code><a href='#impl-SupersetOf%3CSS%3E' class='anchor'></a><a class='srclink' href='../../src/alga/general/subset.rs.html#87-107' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.to_subset' class="method hidden"><code id='to_subset.v'>fn <a href='../../alga/general/subset/trait.SupersetOf.html#method.to_subset' class='fnname'>to_subset</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;SS&gt;</code><a class='srclink' href='../../src/alga/general/subset.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inverse inclusion map: attempts to construct <code>self</code> from the equivalent element of its superset. <a href="../../alga/general/subset/trait.SupersetOf.html#method.to_subset">Read more</a></p>
</div><h4 id='method.is_in_subset' class="method hidden"><code id='is_in_subset.v'>fn <a href='../../alga/general/subset/trait.SupersetOf.html#tymethod.is_in_subset' class='fnname'>is_in_subset</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/alga/general/subset.rs.html#94-96' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Checks if <code>self</code> is actually part of its subset <code>T</code> (and can be converted to it).</p>
</div><h4 id='method.to_subset_unchecked' class="method hidden"><code id='to_subset_unchecked.v'>unsafe fn <a href='../../alga/general/subset/trait.SupersetOf.html#tymethod.to_subset_unchecked' class='fnname'>to_subset_unchecked</a>(&amp;self) -&gt; SS</code><a class='srclink' href='../../src/alga/general/subset.rs.html#99-101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Use with care! Same as <code>self.to_subset</code> but without any property checks. Always succeeds.</p>
</div><h4 id='method.from_subset' class="method hidden"><code id='from_subset.v'>fn <a href='../../alga/general/subset/trait.SupersetOf.html#tymethod.from_subset' class='fnname'>from_subset</a>(element: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>SS) -&gt; SP</code><a class='srclink' href='../../src/alga/general/subset.rs.html#104-106' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inclusion map: converts <code>self</code> to the equivalent element of its superset.</p>
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,34 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `TGeneral` enum in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, TGeneral"><title>nalgebra::geometry::TGeneral - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc enum"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Enum TGeneral</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Eq">Eq</a><a href="#impl-Hash">Hash</a><a href="#impl-PartialEq%3CTGeneral%3E">PartialEq&lt;TGeneral&gt;</a><a href="#impl-SuperTCategoryOf%3CTAffine%3E">SuperTCategoryOf&lt;TAffine&gt;</a><a href="#impl-SuperTCategoryOf%3CTProjective%3E">SuperTCategoryOf&lt;TProjective&gt;</a><a href="#impl-TCategory">TCategory</a><a href="#impl-TCategoryMul%3CTAffine%3E">TCategoryMul&lt;TAffine&gt;</a><a href="#impl-TCategoryMul%3CTGeneral%3E">TCategoryMul&lt;TGeneral&gt;</a><a href="#impl-TCategoryMul%3CTProjective%3E">TCategoryMul&lt;TProjective&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'TGeneral', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#62' title='goto source code'>[src]</a></span><span class='in-band'>Enum <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="enum" href=''>TGeneral</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust enum'>pub enum TGeneral {}</pre></div><div class='docblock'><p>Tag representing the most general (not necessarily inversible) <code>Transform</code> type.</p>
</div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-TCategory' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategory.html" title="trait nalgebra::geometry::TCategory">TCategory</a> for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-TCategory' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#72-81' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.check_homogeneous_invariants' class="method hidden"><code id='check_homogeneous_invariants.v'>fn <a href='../../nalgebra/geometry/trait.TCategory.html#tymethod.check_homogeneous_invariants' class='fnname'>check_homogeneous_invariants</a>&lt;N:&nbsp;<a class="trait" href="../../nalgebra/trait.RealField.html" title="trait nalgebra::RealField">RealField</a>, D:&nbsp;<a class="trait" href="../../nalgebra/base/dimension/trait.DimName.html" title="trait nalgebra::base::dimension::DimName">DimName</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;_: &amp;<a class="type" href="../../nalgebra/base/type.MatrixN.html" title="type nalgebra::base::MatrixN">MatrixN</a>&lt;N, D&gt;<br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;N::<a class="type" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type approx::abs_diff_eq::AbsDiffEq::Epsilon">Epsilon</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="../../nalgebra/base/default_allocator/struct.DefaultAllocator.html" title="struct nalgebra::base::default_allocator::DefaultAllocator">DefaultAllocator</a>: <a class="trait" href="../../nalgebra/base/allocator/trait.Allocator.html" title="trait nalgebra::base::allocator::Allocator">Allocator</a>&lt;N, D, D&gt;,&nbsp;</span></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#74-80' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Checks that the given matrix is a valid homogeneous representation of an element of the category <code>Self</code>. <a href="../../nalgebra/geometry/trait.TCategory.html#tymethod.check_homogeneous_invariants">Read more</a></p>
</div><h4 id='method.has_normalizer' class="method hidden"><code id='has_normalizer.v'>fn <a href='../../nalgebra/geometry/trait.TCategory.html#method.has_normalizer' class='fnname'>has_normalizer</a>() -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#25-27' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Indicates whether a <code>Transform</code> with the category <code>Self</code> has a bottom-row different from <code>0 0 .. 1</code>. <a href="../../nalgebra/geometry/trait.TCategory.html#method.has_normalizer">Read more</a></p>
</div></div><h3 id='impl-TCategoryMul%3CTGeneral%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategoryMul.html" title="trait nalgebra::geometry::TCategoryMul">TCategoryMul</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-TCategoryMul%3CTGeneral%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#115-117' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Representative' class="type"><code id='Representative.t'>type <a href='../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative' class="type">Representative</a> = <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code></h4><div class='docblock'><p>The transform category that results from the multiplication of a <code>Transform&lt;Self&gt;</code> to a <code>Transform&lt;Other&gt;</code>. This is usually equal to <code>Self</code> or <code>Other</code>, whichever is the most general category. <a href="../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative">Read more</a></p>
</div></div><h3 id='impl-TCategoryMul%3CTGeneral%3E-1' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategoryMul.html" title="trait nalgebra::geometry::TCategoryMul">TCategoryMul</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-TCategoryMul%3CTGeneral%3E-1' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#115-117' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Representative-1' class="type"><code id='Representative.t-1'>type <a href='../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative' class="type">Representative</a> = <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code></h4><div class='docblock'><p>The transform category that results from the multiplication of a <code>Transform&lt;Self&gt;</code> to a <code>Transform&lt;Other&gt;</code>. This is usually equal to <code>Self</code> or <code>Other</code>, whichever is the most general category. <a href="../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative">Read more</a></p>
</div></div><h3 id='impl-TCategoryMul%3CTProjective%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategoryMul.html" title="trait nalgebra::geometry::TCategoryMul">TCategoryMul</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-TCategoryMul%3CTProjective%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#115-117' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Representative-2' class="type"><code id='Representative.t-2'>type <a href='../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative' class="type">Representative</a> = <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code></h4><div class='docblock'><p>The transform category that results from the multiplication of a <code>Transform&lt;Self&gt;</code> to a <code>Transform&lt;Other&gt;</code>. This is usually equal to <code>Self</code> or <code>Other</code>, whichever is the most general category. <a href="../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative">Read more</a></p>
</div></div><h3 id='impl-TCategoryMul%3CTAffine%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategoryMul.html" title="trait nalgebra::geometry::TCategoryMul">TCategoryMul</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-TCategoryMul%3CTAffine%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#115-117' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Representative-3' class="type"><code id='Representative.t-3'>type <a href='../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative' class="type">Representative</a> = <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code></h4><div class='docblock'><p>The transform category that results from the multiplication of a <code>Transform&lt;Self&gt;</code> to a <code>Transform&lt;Other&gt;</code>. This is usually equal to <code>Self</code> or <code>Other</code>, whichever is the most general category. <a href="../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative">Read more</a></p>
</div></div><h3 id='impl-SuperTCategoryOf%3CTProjective%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.SuperTCategoryOf.html" title="trait nalgebra::geometry::SuperTCategoryOf">SuperTCategoryOf</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-SuperTCategoryOf%3CTProjective%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#142' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-SuperTCategoryOf%3CTAffine%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.SuperTCategoryOf.html" title="trait nalgebra::geometry::SuperTCategoryOf">SuperTCategoryOf</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-SuperTCategoryOf%3CTAffine%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#142' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#61' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#61' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#61' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-PartialEq%3CTGeneral%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-PartialEq%3CTGeneral%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#61' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#61' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'><span class="docblock attributes">#[must_use]
</span>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#208' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#61' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#61' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#61' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#61' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#61' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3 id='impl-Same%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../../typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a>&lt;T&gt; for T</code><a href='#impl-Same%3CT%3E' class='anchor'></a><a class='srclink' href='../../src/typenum/type_operators.rs.html#32-34' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output' class="type"><code id='Output.t'>type <a href='../../typenum/type_operators/trait.Same.html#associatedtype.Output' class="type">Output</a> = T</code></h4><div class='docblock'><p>Should always be <code>Self</code></p>
</div></div><h3 id='impl-SupersetOf%3CSS%3E' class='impl'><code class='in-band'>impl&lt;SS, SP&gt; <a class="trait" href="../../alga/general/subset/trait.SupersetOf.html" title="trait alga::general::subset::SupersetOf">SupersetOf</a>&lt;SS&gt; for SP <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;SS: <a class="trait" href="../../alga/general/subset/trait.SubsetOf.html" title="trait alga::general::subset::SubsetOf">SubsetOf</a>&lt;SP&gt;,&nbsp;</span></code><a href='#impl-SupersetOf%3CSS%3E' class='anchor'></a><a class='srclink' href='../../src/alga/general/subset.rs.html#87-107' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.to_subset' class="method hidden"><code id='to_subset.v'>fn <a href='../../alga/general/subset/trait.SupersetOf.html#method.to_subset' class='fnname'>to_subset</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;SS&gt;</code><a class='srclink' href='../../src/alga/general/subset.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inverse inclusion map: attempts to construct <code>self</code> from the equivalent element of its superset. <a href="../../alga/general/subset/trait.SupersetOf.html#method.to_subset">Read more</a></p>
</div><h4 id='method.is_in_subset' class="method hidden"><code id='is_in_subset.v'>fn <a href='../../alga/general/subset/trait.SupersetOf.html#tymethod.is_in_subset' class='fnname'>is_in_subset</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/alga/general/subset.rs.html#94-96' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Checks if <code>self</code> is actually part of its subset <code>T</code> (and can be converted to it).</p>
</div><h4 id='method.to_subset_unchecked' class="method hidden"><code id='to_subset_unchecked.v'>unsafe fn <a href='../../alga/general/subset/trait.SupersetOf.html#tymethod.to_subset_unchecked' class='fnname'>to_subset_unchecked</a>(&amp;self) -&gt; SS</code><a class='srclink' href='../../src/alga/general/subset.rs.html#99-101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Use with care! Same as <code>self.to_subset</code> but without any property checks. Always succeeds.</p>
</div><h4 id='method.from_subset' class="method hidden"><code id='from_subset.v'>fn <a href='../../alga/general/subset/trait.SupersetOf.html#tymethod.from_subset' class='fnname'>from_subset</a>(element: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>SS) -&gt; SP</code><a class='srclink' href='../../src/alga/general/subset.rs.html#104-106' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inclusion map: converts <code>self</code> to the equivalent element of its superset.</p>
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,34 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `TProjective` enum in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, TProjective"><title>nalgebra::geometry::TProjective - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc enum"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Enum TProjective</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-Clone">Clone</a><a href="#impl-Copy">Copy</a><a href="#impl-Debug">Debug</a><a href="#impl-Eq">Eq</a><a href="#impl-Hash">Hash</a><a href="#impl-PartialEq%3CTProjective%3E">PartialEq&lt;TProjective&gt;</a><a href="#impl-SuperTCategoryOf%3CTAffine%3E">SuperTCategoryOf&lt;TAffine&gt;</a><a href="#impl-SuperTCategoryOf%3CTProjective%3E">SuperTCategoryOf&lt;TProjective&gt;</a><a href="#impl-TCategory">TCategory</a><a href="#impl-TCategoryMul%3CTAffine%3E">TCategoryMul&lt;TAffine&gt;</a><a href="#impl-TCategoryMul%3CTGeneral%3E">TCategoryMul&lt;TGeneral&gt;</a><a href="#impl-TCategoryMul%3CTProjective%3E">TCategoryMul&lt;TProjective&gt;</a></div><a class="sidebar-title" href="#synthetic-implementations">Auto Trait Implementations</a><div class="sidebar-links"><a href="#impl-RefUnwindSafe">RefUnwindSafe</a><a href="#impl-Send">Send</a><a href="#impl-Sync">Sync</a><a href="#impl-Unpin">Unpin</a><a href="#impl-UnwindSafe">UnwindSafe</a></div><a class="sidebar-title" href="#blanket-implementations">Blanket Implementations</a><div class="sidebar-links"><a href="#impl-Any">Any</a><a href="#impl-Borrow%3CT%3E">Borrow&lt;T&gt;</a><a href="#impl-BorrowMut%3CT%3E">BorrowMut&lt;T&gt;</a><a href="#impl-From%3CT%3E">From&lt;T&gt;</a><a href="#impl-Into%3CU%3E">Into&lt;U&gt;</a><a href="#impl-Same%3CT%3E">Same&lt;T&gt;</a><a href="#impl-SupersetOf%3CSS%3E">SupersetOf&lt;SS&gt;</a><a href="#impl-ToOwned">ToOwned</a><a href="#impl-TryFrom%3CU%3E">TryFrom&lt;U&gt;</a><a href="#impl-TryInto%3CU%3E">TryInto&lt;U&gt;</a></div></div><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'TProjective', ty: 'enum', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#66' title='goto source code'>[src]</a></span><span class='in-band'>Enum <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="enum" href=''>TProjective</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust enum'>pub enum TProjective {}</pre></div><div class='docblock'><p>Tag representing the most general inversible <code>Transform</code> type.</p>
</div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-TCategory' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategory.html" title="trait nalgebra::geometry::TCategory">TCategory</a> for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-TCategory' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#83-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.check_homogeneous_invariants' class="method hidden"><code id='check_homogeneous_invariants.v'>fn <a href='../../nalgebra/geometry/trait.TCategory.html#tymethod.check_homogeneous_invariants' class='fnname'>check_homogeneous_invariants</a>&lt;N:&nbsp;<a class="trait" href="../../nalgebra/trait.RealField.html" title="trait nalgebra::RealField">RealField</a>, D:&nbsp;<a class="trait" href="../../nalgebra/base/dimension/trait.DimName.html" title="trait nalgebra::base::dimension::DimName">DimName</a>&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;mat: &amp;<a class="type" href="../../nalgebra/base/type.MatrixN.html" title="type nalgebra::base::MatrixN">MatrixN</a>&lt;N, D&gt;<br>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a> <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;N::<a class="type" href="../../approx/abs_diff_eq/trait.AbsDiffEq.html#associatedtype.Epsilon" title="type approx::abs_diff_eq::AbsDiffEq::Epsilon">Epsilon</a>: <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;<a class="struct" href="../../nalgebra/base/default_allocator/struct.DefaultAllocator.html" title="struct nalgebra::base::default_allocator::DefaultAllocator">DefaultAllocator</a>: <a class="trait" href="../../nalgebra/base/allocator/trait.Allocator.html" title="trait nalgebra::base::allocator::Allocator">Allocator</a>&lt;N, D, D&gt;,&nbsp;</span></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#85-91' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Checks that the given matrix is a valid homogeneous representation of an element of the category <code>Self</code>. <a href="../../nalgebra/geometry/trait.TCategory.html#tymethod.check_homogeneous_invariants">Read more</a></p>
</div><h4 id='method.has_normalizer' class="method hidden"><code id='has_normalizer.v'>fn <a href='../../nalgebra/geometry/trait.TCategory.html#method.has_normalizer' class='fnname'>has_normalizer</a>() -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#25-27' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Indicates whether a <code>Transform</code> with the category <code>Self</code> has a bottom-row different from <code>0 0 .. 1</code>. <a href="../../nalgebra/geometry/trait.TCategory.html#method.has_normalizer">Read more</a></p>
</div></div><h3 id='impl-TCategoryMul%3CTGeneral%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategoryMul.html" title="trait nalgebra::geometry::TCategoryMul">TCategoryMul</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-TCategoryMul%3CTGeneral%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#115-117' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Representative' class="type"><code id='Representative.t'>type <a href='../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative' class="type">Representative</a> = <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code></h4><div class='docblock'><p>The transform category that results from the multiplication of a <code>Transform&lt;Self&gt;</code> to a <code>Transform&lt;Other&gt;</code>. This is usually equal to <code>Self</code> or <code>Other</code>, whichever is the most general category. <a href="../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative">Read more</a></p>
</div></div><h3 id='impl-TCategoryMul%3CTProjective%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategoryMul.html" title="trait nalgebra::geometry::TCategoryMul">TCategoryMul</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-TCategoryMul%3CTProjective%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#115-117' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Representative-1' class="type"><code id='Representative.t-1'>type <a href='../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative' class="type">Representative</a> = <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code></h4><div class='docblock'><p>The transform category that results from the multiplication of a <code>Transform&lt;Self&gt;</code> to a <code>Transform&lt;Other&gt;</code>. This is usually equal to <code>Self</code> or <code>Other</code>, whichever is the most general category. <a href="../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative">Read more</a></p>
</div></div><h3 id='impl-TCategoryMul%3CTProjective%3E-1' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategoryMul.html" title="trait nalgebra::geometry::TCategoryMul">TCategoryMul</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a></code><a href='#impl-TCategoryMul%3CTProjective%3E-1' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#115-117' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Representative-2' class="type"><code id='Representative.t-2'>type <a href='../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative' class="type">Representative</a> = <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code></h4><div class='docblock'><p>The transform category that results from the multiplication of a <code>Transform&lt;Self&gt;</code> to a <code>Transform&lt;Other&gt;</code>. This is usually equal to <code>Self</code> or <code>Other</code>, whichever is the most general category. <a href="../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative">Read more</a></p>
</div></div><h3 id='impl-TCategoryMul%3CTAffine%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.TCategoryMul.html" title="trait nalgebra::geometry::TCategoryMul">TCategoryMul</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-TCategoryMul%3CTAffine%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#115-117' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Representative-3' class="type"><code id='Representative.t-3'>type <a href='../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative' class="type">Representative</a> = <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code></h4><div class='docblock'><p>The transform category that results from the multiplication of a <code>Transform&lt;Self&gt;</code> to a <code>Transform&lt;Other&gt;</code>. This is usually equal to <code>Self</code> or <code>Other</code>, whichever is the most general category. <a href="../../nalgebra/geometry/trait.TCategoryMul.html#associatedtype.Representative">Read more</a></p>
</div></div><h3 id='impl-SuperTCategoryOf%3CTProjective%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.SuperTCategoryOf.html" title="trait nalgebra::geometry::SuperTCategoryOf">SuperTCategoryOf</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-SuperTCategoryOf%3CTProjective%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#142' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-SuperTCategoryOf%3CTAffine%3E' class='impl'><code class='in-band'>impl <a class="trait" href="../../nalgebra/geometry/trait.SuperTCategoryOf.html" title="trait nalgebra::geometry::SuperTCategoryOf">SuperTCategoryOf</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-SuperTCategoryOf%3CTAffine%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#142' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Eq' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.Eq.html" title="trait core::cmp::Eq">Eq</a> for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-Eq' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#65' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Clone' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a> for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-Clone' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#65' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.clone' class="method hidden"><code id='clone.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone' class='fnname'>clone</a>(&amp;self) -&gt; <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#65' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Returns a copy of the value. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#tymethod.clone">Read more</a></p>
</div><h4 id='method.clone_from' class="method hidden"><code id='clone_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from' class='fnname'>clone_from</a>(&amp;mut self, source: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self)</code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/clone.rs.html#131-133' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs copy-assignment from <code>source</code>. <a href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html#method.clone_from">Read more</a></p>
</div></div><h3 id='impl-PartialEq%3CTProjective%3E' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html" title="trait core::cmp::PartialEq">PartialEq</a>&lt;<a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-PartialEq%3CTProjective%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#65' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.eq' class="method hidden"><code id='eq.v'>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq' class='fnname'>eq</a>(&amp;self, other: &amp;<a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a>) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#65' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>self</code> and <code>other</code> values to be equal, and is used by <code>==</code>. <a href="https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#tymethod.eq">Read more</a></p>
</div><h4 id='method.ne' class="method hidden"><code id='ne.v'><span class="docblock attributes">#[must_use]
</span>fn <a href='https://doc.rust-lang.org/nightly/core/cmp/trait.PartialEq.html#method.ne' class='fnname'>ne</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Rhs) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><span class='since' title='Stable since Rust version 1.0.0'>1.0.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/cmp.rs.html#208' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>This method tests for <code>!=</code>.</p>
</div></div><h3 id='impl-Copy' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Copy.html" title="trait core::marker::Copy">Copy</a> for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-Copy' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#65' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-Hash' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html" title="trait core::hash::Hash">Hash</a> for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-Hash' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#65' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.hash' class="method hidden"><code id='hash.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash' class='fnname'>hash</a>&lt;__H:&nbsp;<a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>&gt;(&amp;self, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>__H)</code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#65' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds this value into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#tymethod.hash">Read more</a></p>
</div><h4 id='method.hash_slice' class="method hidden"><code id='hash_slice.v'>fn <a href='https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice' class='fnname'>hash_slice</a>&lt;H&gt;(data: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.slice.html">&amp;[Self]</a>, state: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>H) <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;H: <a class="trait" href="https://doc.rust-lang.org/nightly/core/hash/trait.Hasher.html" title="trait core::hash::Hasher">Hasher</a>,&nbsp;</span></code><span class='since' title='Stable since Rust version 1.3.0'>1.3.0</span><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/hash/mod.rs.html#192-198' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Feeds a slice of this type into the given [<code>Hasher</code>]. <a href="https://doc.rust-lang.org/nightly/core/hash/trait.Hash.html#method.hash_slice">Read more</a></p>
</div></div><h3 id='impl-Debug' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html" title="trait core::fmt::Debug">Debug</a> for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-Debug' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#65' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.fmt' class="method hidden"><code id='fmt.v'>fn <a href='https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt' class='fnname'>fmt</a>(&amp;self, f: &amp;mut <a class="struct" href="https://doc.rust-lang.org/nightly/core/fmt/struct.Formatter.html" title="struct core::fmt::Formatter">Formatter</a>) -&gt; <a class="type" href="https://doc.rust-lang.org/nightly/core/fmt/type.Result.html" title="type core::fmt::Result">Result</a></code><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#65' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Formats the value using the given formatter. <a href="https://doc.rust-lang.org/nightly/core/fmt/trait.Debug.html#tymethod.fmt">Read more</a></p>
</div></div></div><h2 id='synthetic-implementations' class='small-section-header'>Auto Trait Implementations<a href='#synthetic-implementations' class='anchor'></a></h2><div id='synthetic-implementations-list'><h3 id='impl-Send' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Send.html" title="trait core::marker::Send">Send</a> for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-Send' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Unpin' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Unpin.html" title="trait core::marker::Unpin">Unpin</a> for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-Unpin' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-Sync' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sync.html" title="trait core::marker::Sync">Sync</a> for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-Sync' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-UnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.UnwindSafe.html" title="trait std::panic::UnwindSafe">UnwindSafe</a> for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-UnwindSafe' class='anchor'></a></h3><div class='impl-items'></div><h3 id='impl-RefUnwindSafe' class='impl'><code class='in-band'>impl <a class="trait" href="https://doc.rust-lang.org/nightly/std/panic/trait.RefUnwindSafe.html" title="trait std::panic::RefUnwindSafe">RefUnwindSafe</a> for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-RefUnwindSafe' class='anchor'></a></h3><div class='impl-items'></div></div><h2 id='blanket-implementations' class='small-section-header'>Blanket Implementations<a href='#blanket-implementations' class='anchor'></a></h2><div id='blanket-implementations-list'><h3 id='impl-ToOwned' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html" title="trait alloc::borrow::ToOwned">ToOwned</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: <a class="trait" href="https://doc.rust-lang.org/nightly/core/clone/trait.Clone.html" title="trait core::clone::Clone">Clone</a>,&nbsp;</span></code><a href='#impl-ToOwned' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#81-92' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Owned' class="type"><code id='Owned.t'>type <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#associatedtype.Owned' class="type">Owned</a> = T</code></h4><div class='docblock'><p>The resulting type after obtaining ownership.</p>
</div><h4 id='method.to_owned' class="method hidden"><code id='to_owned.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned' class='fnname'>to_owned</a>(&amp;self) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#85-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Creates owned data from borrowed data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#tymethod.to_owned">Read more</a></p>
</div><h4 id='method.clone_into' class="method hidden"><code id='clone_into.v'>fn <a href='https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into' class='fnname'>clone_into</a>(&amp;self, target: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T)</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/alloc/borrow.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='stability hidden'><div class='stab unstable'><details><summary><span class='emoji'>🔬</span> This is a nightly-only experimental API. (<code>toowned_clone_into</code>)</summary><p>recently added</p>
</details></div></div><div class='docblock hidden'><p>Uses borrowed data to replace owned data, usually by cloning. <a href="https://doc.rust-lang.org/nightly/alloc/borrow/trait.ToOwned.html#method.clone_into">Read more</a></p>
</div></div><h3 id='impl-Into%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-Into%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#544-549' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.into' class="method hidden"><code id='into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.Into.html#tymethod.into' class='fnname'>into</a>(self) -&gt; U</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#546-548' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-From%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;T&gt; for T</code><a href='#impl-From%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#553-555' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(t: T) -&gt; T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#554' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryFrom%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.Into.html" title="trait core::convert::Into">Into</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryFrom%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#572-578' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error' class="type"><code id='Error.t'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error' class="type">Error</a> = <a class="enum" href="https://doc.rust-lang.org/nightly/core/convert/enum.Infallible.html" title="enum core::convert::Infallible">Infallible</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_from' class="method hidden"><code id='try_from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#tymethod.try_from' class='fnname'>try_from</a>(value: U) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;T, &lt;T as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;U&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#575-577' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-TryInto%3CU%3E' class='impl'><code class='in-band'>impl&lt;T, U&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html" title="trait core::convert::TryInto">TryInto</a>&lt;U&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;U: <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;,&nbsp;</span></code><a href='#impl-TryInto%3CU%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#560-567' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Error-1' class="type"><code id='Error.t-1'>type <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#associatedtype.Error' class="type">Error</a> = &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a></code></h4><div class='docblock'><p>The type returned in the event of a conversion error.</p>
</div><h4 id='method.try_into' class="method hidden"><code id='try_into.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.TryInto.html#tymethod.try_into' class='fnname'>try_into</a>(self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/result/enum.Result.html" title="enum core::result::Result">Result</a>&lt;U, &lt;U as <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html" title="trait core::convert::TryFrom">TryFrom</a>&lt;T&gt;&gt;::<a class="type" href="https://doc.rust-lang.org/nightly/core/convert/trait.TryFrom.html#associatedtype.Error" title="type core::convert::TryFrom::Error">Error</a>&gt;</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/convert.rs.html#564-566' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-BorrowMut%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html" title="trait core::borrow::BorrowMut">BorrowMut</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-BorrowMut%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#218-220' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow_mut' class="method hidden"><code id='borrow_mut.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut' class='fnname'>borrow_mut</a>(&amp;mut self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;mut </a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#219' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Mutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.BorrowMut.html#tymethod.borrow_mut">Read more</a></p>
</div></div><h3 id='impl-Borrow%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html" title="trait core::borrow::Borrow">Borrow</a>&lt;T&gt; for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Borrow%3CT%3E' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#213-215' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.borrow' class="method hidden"><code id='borrow.v'>fn <a href='https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow' class='fnname'>borrow</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T</code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/borrow.rs.html#214' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Immutably borrows from an owned value. <a href="https://doc.rust-lang.org/nightly/core/borrow/trait.Borrow.html#tymethod.borrow">Read more</a></p>
</div></div><h3 id='impl-Any' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html" title="trait core::any::Any">Any</a> for T <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T: 'static + ?<a class="trait" href="https://doc.rust-lang.org/nightly/core/marker/trait.Sized.html" title="trait core::marker::Sized">Sized</a>,&nbsp;</span></code><a href='#impl-Any' class='anchor'></a><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#100-102' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.type_id' class="method hidden"><code id='type_id.v'>fn <a href='https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id' class='fnname'>type_id</a>(&amp;self) -&gt; <a class="struct" href="https://doc.rust-lang.org/nightly/core/any/struct.TypeId.html" title="struct core::any::TypeId">TypeId</a></code><a class='srclink' href='https://doc.rust-lang.org/nightly/src/core/any.rs.html#101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Gets the <code>TypeId</code> of <code>self</code>. <a href="https://doc.rust-lang.org/nightly/core/any/trait.Any.html#tymethod.type_id">Read more</a></p>
</div></div><h3 id='impl-Same%3CT%3E' class='impl'><code class='in-band'>impl&lt;T&gt; <a class="trait" href="../../typenum/type_operators/trait.Same.html" title="trait typenum::type_operators::Same">Same</a>&lt;T&gt; for T</code><a href='#impl-Same%3CT%3E' class='anchor'></a><a class='srclink' href='../../src/typenum/type_operators.rs.html#32-34' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='associatedtype.Output' class="type"><code id='Output.t'>type <a href='../../typenum/type_operators/trait.Same.html#associatedtype.Output' class="type">Output</a> = T</code></h4><div class='docblock'><p>Should always be <code>Self</code></p>
</div></div><h3 id='impl-SupersetOf%3CSS%3E' class='impl'><code class='in-band'>impl&lt;SS, SP&gt; <a class="trait" href="../../alga/general/subset/trait.SupersetOf.html" title="trait alga::general::subset::SupersetOf">SupersetOf</a>&lt;SS&gt; for SP <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;SS: <a class="trait" href="../../alga/general/subset/trait.SubsetOf.html" title="trait alga::general::subset::SubsetOf">SubsetOf</a>&lt;SP&gt;,&nbsp;</span></code><a href='#impl-SupersetOf%3CSS%3E' class='anchor'></a><a class='srclink' href='../../src/alga/general/subset.rs.html#87-107' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.to_subset' class="method hidden"><code id='to_subset.v'>fn <a href='../../alga/general/subset/trait.SupersetOf.html#method.to_subset' class='fnname'>to_subset</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;SS&gt;</code><a class='srclink' href='../../src/alga/general/subset.rs.html#89-91' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inverse inclusion map: attempts to construct <code>self</code> from the equivalent element of its superset. <a href="../../alga/general/subset/trait.SupersetOf.html#method.to_subset">Read more</a></p>
</div><h4 id='method.is_in_subset' class="method hidden"><code id='is_in_subset.v'>fn <a href='../../alga/general/subset/trait.SupersetOf.html#tymethod.is_in_subset' class='fnname'>is_in_subset</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/alga/general/subset.rs.html#94-96' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Checks if <code>self</code> is actually part of its subset <code>T</code> (and can be converted to it).</p>
</div><h4 id='method.to_subset_unchecked' class="method hidden"><code id='to_subset_unchecked.v'>unsafe fn <a href='../../alga/general/subset/trait.SupersetOf.html#tymethod.to_subset_unchecked' class='fnname'>to_subset_unchecked</a>(&amp;self) -&gt; SS</code><a class='srclink' href='../../src/alga/general/subset.rs.html#99-101' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Use with care! Same as <code>self.to_subset</code> but without any property checks. Always succeeds.</p>
</div><h4 id='method.from_subset' class="method hidden"><code id='from_subset.v'>fn <a href='../../alga/general/subset/trait.SupersetOf.html#tymethod.from_subset' class='fnname'>from_subset</a>(element: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>SS) -&gt; SP</code><a class='srclink' href='../../src/alga/general/subset.rs.html#104-106' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inclusion map: converts <code>self</code> to the equivalent element of its superset.</p>
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,56 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `geometry` mod in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, geometry"><title>nalgebra::geometry - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc mod"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Module geometry</p><div class="sidebar-elems"><div class="block items"><ul><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#traits">Traits</a></li><li><a href="#types">Type Definitions</a></li></ul></div><p class='location'><a href='../index.html'>nalgebra</a></p><script>window.sidebarCurrent = {name: 'geometry', ty: 'mod', relpath: '../'};</script><script defer src="../sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/mod.rs.html#1-96' title='goto source code'>[src]</a></span><span class='in-band'>Module <a href='../index.html'>nalgebra</a>::<wbr><a class="mod" href=''>geometry</a></span></h1><div class='docblock'><p>[Reexported at the root of this crate.] Data structures for points and usual transformations
(rotations, isometries, etc.)</p>
</div><h2 id='structs' class='section-header'><a href="#structs">Structs</a></h2>
<table><tr class='module-item'><td><a class="struct" href="struct.Isometry.html" title='nalgebra::geometry::Isometry struct'>Isometry</a></td><td class='docblock-short'><p>A direct isometry, i.e., a rotation followed by a translation, aka. a rigid-body motion, aka. an element of a Special Euclidean (SE) group.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Orthographic3.html" title='nalgebra::geometry::Orthographic3 struct'>Orthographic3</a></td><td class='docblock-short'><p>A 3D orthographic projection stored as an homogeneous 4x4 matrix.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Perspective3.html" title='nalgebra::geometry::Perspective3 struct'>Perspective3</a></td><td class='docblock-short'><p>A 3D perspective projection stored as an homogeneous 4x4 matrix.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Point.html" title='nalgebra::geometry::Point struct'>Point</a></td><td class='docblock-short'><p>A point in a n-dimensional euclidean space.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Quaternion.html" title='nalgebra::geometry::Quaternion struct'>Quaternion</a></td><td class='docblock-short'><p>A quaternion. See the type alias <code>UnitQuaternion = Unit&lt;Quaternion&gt;</code> for a quaternion
that may be used as a rotation.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Reflection.html" title='nalgebra::geometry::Reflection struct'>Reflection</a></td><td class='docblock-short'><p>A reflection wrt. a plane.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Rotation.html" title='nalgebra::geometry::Rotation struct'>Rotation</a></td><td class='docblock-short'><p>A rotation matrix.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Similarity.html" title='nalgebra::geometry::Similarity struct'>Similarity</a></td><td class='docblock-short'><p>A similarity, i.e., an uniform scaling, followed by a rotation, followed by a translation.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Transform.html" title='nalgebra::geometry::Transform struct'>Transform</a></td><td class='docblock-short'><p>A transformation matrix in homogeneous coordinates.</p>
</td></tr><tr class='module-item'><td><a class="struct" href="struct.Translation.html" title='nalgebra::geometry::Translation struct'>Translation</a></td><td class='docblock-short'><p>A translation.</p>
</td></tr></table><h2 id='enums' class='section-header'><a href="#enums">Enums</a></h2>
<table><tr class='module-item'><td><a class="enum" href="enum.TAffine.html" title='nalgebra::geometry::TAffine enum'>TAffine</a></td><td class='docblock-short'><p>Tag representing an affine <code>Transform</code>. Its bottom-row is equal to <code>(0, 0 ... 0, 1)</code>.</p>
</td></tr><tr class='module-item'><td><a class="enum" href="enum.TGeneral.html" title='nalgebra::geometry::TGeneral enum'>TGeneral</a></td><td class='docblock-short'><p>Tag representing the most general (not necessarily inversible) <code>Transform</code> type.</p>
</td></tr><tr class='module-item'><td><a class="enum" href="enum.TProjective.html" title='nalgebra::geometry::TProjective enum'>TProjective</a></td><td class='docblock-short'><p>Tag representing the most general inversible <code>Transform</code> type.</p>
</td></tr></table><h2 id='traits' class='section-header'><a href="#traits">Traits</a></h2>
<table><tr class='module-item'><td><a class="trait" href="trait.SubTCategoryOf.html" title='nalgebra::geometry::SubTCategoryOf trait'>SubTCategoryOf</a></td><td class='docblock-short'><p>Indicates that <code>Self</code> is a more specific <code>Transform</code> category than <code>Other</code>.</p>
</td></tr><tr class='module-item'><td><a class="trait" href="trait.SuperTCategoryOf.html" title='nalgebra::geometry::SuperTCategoryOf trait'>SuperTCategoryOf</a></td><td class='docblock-short'><p>Indicates that <code>Self</code> is a more general <code>Transform</code> category than <code>Other</code>.</p>
</td></tr><tr class='module-item'><td><a class="trait" href="trait.TCategory.html" title='nalgebra::geometry::TCategory trait'>TCategory</a></td><td class='docblock-short'><p>Trait implemented by phantom types identifying the projective transformation type.</p>
</td></tr><tr class='module-item'><td><a class="trait" href="trait.TCategoryMul.html" title='nalgebra::geometry::TCategoryMul trait'>TCategoryMul</a></td><td class='docblock-short'><p>Traits that gives the <code>Transform</code> category that is compatible with the result of the
multiplication of transformations with categories <code>Self</code> and <code>Other</code>.</p>
</td></tr></table><h2 id='types' class='section-header'><a href="#types">Type Definitions</a></h2>
<table><tr class='module-item'><td><a class="type" href="type.Affine2.html" title='nalgebra::geometry::Affine2 type'>Affine2</a></td><td class='docblock-short'><p>A 2D affine transformation. Stored as an homogeneous 3x3 matrix.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Affine3.html" title='nalgebra::geometry::Affine3 type'>Affine3</a></td><td class='docblock-short'><p>A 3D affine transformation. Stored as an homogeneous 4x4 matrix.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Isometry2.html" title='nalgebra::geometry::Isometry2 type'>Isometry2</a></td><td class='docblock-short'><p>A 2-dimensional direct isometry using a unit complex number for its rotational part. Also known as a rigid-body motion, or as an element of SE(2).</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Isometry3.html" title='nalgebra::geometry::Isometry3 type'>Isometry3</a></td><td class='docblock-short'><p>A 3-dimensional direct isometry using a unit quaternion for its rotational part. Also known as a rigid-body motion, or as an element of SE(3).</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.IsometryMatrix2.html" title='nalgebra::geometry::IsometryMatrix2 type'>IsometryMatrix2</a></td><td class='docblock-short'><p>A 2-dimensional direct isometry using a rotation matrix for its rotational part. Also known as a rigid-body motion, or as an element of SE(2).</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.IsometryMatrix3.html" title='nalgebra::geometry::IsometryMatrix3 type'>IsometryMatrix3</a></td><td class='docblock-short'><p>A 3-dimensional direct isometry using a rotation matrix for its rotational part. Also known as a rigid-body motion, or as an element of SE(3).</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Point1.html" title='nalgebra::geometry::Point1 type'>Point1</a></td><td class='docblock-short'><p>A statically sized 1-dimensional column point.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Point2.html" title='nalgebra::geometry::Point2 type'>Point2</a></td><td class='docblock-short'><p>A statically sized 2-dimensional column point.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Point3.html" title='nalgebra::geometry::Point3 type'>Point3</a></td><td class='docblock-short'><p>A statically sized 3-dimensional column point.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Point4.html" title='nalgebra::geometry::Point4 type'>Point4</a></td><td class='docblock-short'><p>A statically sized 4-dimensional column point.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Point5.html" title='nalgebra::geometry::Point5 type'>Point5</a></td><td class='docblock-short'><p>A statically sized 5-dimensional column point.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Point6.html" title='nalgebra::geometry::Point6 type'>Point6</a></td><td class='docblock-short'><p>A statically sized 6-dimensional column point.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Projective2.html" title='nalgebra::geometry::Projective2 type'>Projective2</a></td><td class='docblock-short'><p>An invertible 2D general transformation. Stored as an homogeneous 3x3 matrix.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Projective3.html" title='nalgebra::geometry::Projective3 type'>Projective3</a></td><td class='docblock-short'><p>An invertible 3D general transformation. Stored as an homogeneous 4x4 matrix.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Rotation2.html" title='nalgebra::geometry::Rotation2 type'>Rotation2</a></td><td class='docblock-short'><p>A 2-dimensional rotation matrix.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Rotation3.html" title='nalgebra::geometry::Rotation3 type'>Rotation3</a></td><td class='docblock-short'><p>A 3-dimensional rotation matrix.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Similarity2.html" title='nalgebra::geometry::Similarity2 type'>Similarity2</a></td><td class='docblock-short'><p>A 2-dimensional similarity.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Similarity3.html" title='nalgebra::geometry::Similarity3 type'>Similarity3</a></td><td class='docblock-short'><p>A 3-dimensional similarity.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.SimilarityMatrix2.html" title='nalgebra::geometry::SimilarityMatrix2 type'>SimilarityMatrix2</a></td><td class='docblock-short'><p>A 2-dimensional similarity using a rotation matrix for its rotation part.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.SimilarityMatrix3.html" title='nalgebra::geometry::SimilarityMatrix3 type'>SimilarityMatrix3</a></td><td class='docblock-short'><p>A 3-dimensional similarity using a rotation matrix for its rotation part.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Transform2.html" title='nalgebra::geometry::Transform2 type'>Transform2</a></td><td class='docblock-short'><p>A 2D general transformation that may not be invertible. Stored as an homogeneous 3x3 matrix.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Transform3.html" title='nalgebra::geometry::Transform3 type'>Transform3</a></td><td class='docblock-short'><p>A 3D general transformation that may not be inversible. Stored as an homogeneous 4x4 matrix.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Translation1.html" title='nalgebra::geometry::Translation1 type'>Translation1</a></td><td class='docblock-short'><p>A 1-dimensional translation.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Translation2.html" title='nalgebra::geometry::Translation2 type'>Translation2</a></td><td class='docblock-short'><p>A 2-dimensional translation.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Translation3.html" title='nalgebra::geometry::Translation3 type'>Translation3</a></td><td class='docblock-short'><p>A 3-dimensional translation.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Translation4.html" title='nalgebra::geometry::Translation4 type'>Translation4</a></td><td class='docblock-short'><p>A 4-dimensional translation.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Translation5.html" title='nalgebra::geometry::Translation5 type'>Translation5</a></td><td class='docblock-short'><p>A 5-dimensional translation.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.Translation6.html" title='nalgebra::geometry::Translation6 type'>Translation6</a></td><td class='docblock-short'><p>A 6-dimensional translation.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.UnitComplex.html" title='nalgebra::geometry::UnitComplex type'>UnitComplex</a></td><td class='docblock-short'><p>A complex number with a norm equal to 1.</p>
</td></tr><tr class='module-item'><td><a class="type" href="type.UnitQuaternion.html" title='nalgebra::geometry::UnitQuaternion type'>UnitQuaternion</a></td><td class='docblock-short'><p>A unit quaternions. May be used to represent a rotation.</p>
</td></tr></table></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/struct.Isometry.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/struct.Isometry.html">../../../nalgebra/geometry/struct.Isometry.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/struct.Isometry.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Isometry2.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Isometry2.html">../../../nalgebra/geometry/type.Isometry2.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Isometry2.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Isometry3.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Isometry3.html">../../../nalgebra/geometry/type.Isometry3.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Isometry3.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.IsometryMatrix2.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.IsometryMatrix2.html">../../../nalgebra/geometry/type.IsometryMatrix2.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.IsometryMatrix2.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.IsometryMatrix3.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.IsometryMatrix3.html">../../../nalgebra/geometry/type.IsometryMatrix3.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.IsometryMatrix3.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/struct.Orthographic3.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/struct.Orthographic3.html">../../../nalgebra/geometry/struct.Orthographic3.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/struct.Orthographic3.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/struct.Perspective3.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/struct.Perspective3.html">../../../nalgebra/geometry/struct.Perspective3.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/struct.Perspective3.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/struct.Point.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/struct.Point.html">../../../nalgebra/geometry/struct.Point.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/struct.Point.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Point1.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Point1.html">../../../nalgebra/geometry/type.Point1.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Point1.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Point2.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Point2.html">../../../nalgebra/geometry/type.Point2.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Point2.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Point3.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Point3.html">../../../nalgebra/geometry/type.Point3.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Point3.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Point4.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Point4.html">../../../nalgebra/geometry/type.Point4.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Point4.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Point5.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Point5.html">../../../nalgebra/geometry/type.Point5.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Point5.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Point6.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Point6.html">../../../nalgebra/geometry/type.Point6.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Point6.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/struct.Quaternion.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/struct.Quaternion.html">../../../nalgebra/geometry/struct.Quaternion.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/struct.Quaternion.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.UnitQuaternion.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.UnitQuaternion.html">../../../nalgebra/geometry/type.UnitQuaternion.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.UnitQuaternion.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/struct.Reflection.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/struct.Reflection.html">../../../nalgebra/geometry/struct.Reflection.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/struct.Reflection.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/struct.Rotation.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/struct.Rotation.html">../../../nalgebra/geometry/struct.Rotation.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/struct.Rotation.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Rotation2.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Rotation2.html">../../../nalgebra/geometry/type.Rotation2.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Rotation2.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Rotation3.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Rotation3.html">../../../nalgebra/geometry/type.Rotation3.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Rotation3.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1 @@
initSidebarItems({"enum":[["TAffine","Tag representing an affine `Transform`. Its bottom-row is equal to `(0, 0 ... 0, 1)`."],["TGeneral","Tag representing the most general (not necessarily inversible) `Transform` type."],["TProjective","Tag representing the most general inversible `Transform` type."]],"struct":[["Isometry","A direct isometry, i.e., a rotation followed by a translation, aka. a rigid-body motion, aka. an element of a Special Euclidean (SE) group."],["Orthographic3","A 3D orthographic projection stored as an homogeneous 4x4 matrix."],["Perspective3","A 3D perspective projection stored as an homogeneous 4x4 matrix."],["Point","A point in a n-dimensional euclidean space."],["Quaternion","A quaternion. See the type alias `UnitQuaternion = Unit<Quaternion>` for a quaternion that may be used as a rotation."],["Reflection","A reflection wrt. a plane."],["Rotation","A rotation matrix."],["Similarity","A similarity, i.e., an uniform scaling, followed by a rotation, followed by a translation."],["Transform","A transformation matrix in homogeneous coordinates."],["Translation","A translation."]],"trait":[["SubTCategoryOf","Indicates that `Self` is a more specific `Transform` category than `Other`."],["SuperTCategoryOf","Indicates that `Self` is a more general `Transform` category than `Other`."],["TCategory","Trait implemented by phantom types identifying the projective transformation type."],["TCategoryMul","Traits that gives the `Transform` category that is compatible with the result of the multiplication of transformations with categories `Self` and `Other`."]],"type":[["Affine2","A 2D affine transformation. Stored as an homogeneous 3x3 matrix."],["Affine3","A 3D affine transformation. Stored as an homogeneous 4x4 matrix."],["Isometry2","A 2-dimensional direct isometry using a unit complex number for its rotational part. Also known as a rigid-body motion, or as an element of SE(2)."],["Isometry3","A 3-dimensional direct isometry using a unit quaternion for its rotational part. Also known as a rigid-body motion, or as an element of SE(3)."],["IsometryMatrix2","A 2-dimensional direct isometry using a rotation matrix for its rotational part. Also known as a rigid-body motion, or as an element of SE(2)."],["IsometryMatrix3","A 3-dimensional direct isometry using a rotation matrix for its rotational part. Also known as a rigid-body motion, or as an element of SE(3)."],["Point1","A statically sized 1-dimensional column point."],["Point2","A statically sized 2-dimensional column point."],["Point3","A statically sized 3-dimensional column point."],["Point4","A statically sized 4-dimensional column point."],["Point5","A statically sized 5-dimensional column point."],["Point6","A statically sized 6-dimensional column point."],["Projective2","An invertible 2D general transformation. Stored as an homogeneous 3x3 matrix."],["Projective3","An invertible 3D general transformation. Stored as an homogeneous 4x4 matrix."],["Rotation2","A 2-dimensional rotation matrix."],["Rotation3","A 3-dimensional rotation matrix."],["Similarity2","A 2-dimensional similarity."],["Similarity3","A 3-dimensional similarity."],["SimilarityMatrix2","A 2-dimensional similarity using a rotation matrix for its rotation part."],["SimilarityMatrix3","A 3-dimensional similarity using a rotation matrix for its rotation part."],["Transform2","A 2D general transformation that may not be invertible. Stored as an homogeneous 3x3 matrix."],["Transform3","A 3D general transformation that may not be inversible. Stored as an homogeneous 4x4 matrix."],["Translation1","A 1-dimensional translation."],["Translation2","A 2-dimensional translation."],["Translation3","A 3-dimensional translation."],["Translation4","A 4-dimensional translation."],["Translation5","A 5-dimensional translation."],["Translation6","A 6-dimensional translation."],["UnitComplex","A complex number with a norm equal to 1."],["UnitQuaternion","A unit quaternions. May be used to represent a rotation."]]});

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/struct.Similarity.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/struct.Similarity.html">../../../nalgebra/geometry/struct.Similarity.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/struct.Similarity.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Similarity2.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Similarity2.html">../../../nalgebra/geometry/type.Similarity2.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Similarity2.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Similarity3.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Similarity3.html">../../../nalgebra/geometry/type.Similarity3.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Similarity3.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.SimilarityMatrix2.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.SimilarityMatrix2.html">../../../nalgebra/geometry/type.SimilarityMatrix2.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.SimilarityMatrix2.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.SimilarityMatrix3.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.SimilarityMatrix3.html">../../../nalgebra/geometry/type.SimilarityMatrix3.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.SimilarityMatrix3.html" + location.search + location.hash);</script>
</body>
</html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,6 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `SubTCategoryOf` trait in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, SubTCategoryOf"><title>nalgebra::geometry::SubTCategoryOf - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait SubTCategoryOf</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'SubTCategoryOf', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#52' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="trait" href=''>SubTCategoryOf</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait SubTCategoryOf&lt;Other:&nbsp;<a class="trait" href="../../nalgebra/geometry/trait.TCategory.html" title="trait nalgebra::geometry::TCategory">TCategory</a>&gt;: <a class="trait" href="../../nalgebra/geometry/trait.TCategory.html" title="trait nalgebra::geometry::TCategory">TCategory</a> { }</pre></div><div class='docblock'><p>Indicates that <code>Self</code> is a more specific <code>Transform</code> category than <code>Other</code>.</p>
<p>Automatically implemented based on <code>SuperTCategoryOf</code>.</p>
</div>
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-SubTCategoryOf%3CT2%3E' class='impl'><code class='in-band'>impl&lt;T1, T2&gt; SubTCategoryOf&lt;T2&gt; for T1 <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;T1: <a class="trait" href="../../nalgebra/geometry/trait.TCategory.html" title="trait nalgebra::geometry::TCategory">TCategory</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;T2: <a class="trait" href="../../nalgebra/geometry/trait.SuperTCategoryOf.html" title="trait nalgebra::geometry::SuperTCategoryOf">SuperTCategoryOf</a>&lt;T1&gt;,&nbsp;</span></code><a href='#impl-SubTCategoryOf%3CT2%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#53-58' title='goto source code'>[src]</a></h3><div class='impl-items'></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async
src="../../implementors/nalgebra/geometry/trait.SubTCategoryOf.js">
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,5 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `SuperTCategoryOf` trait in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, SuperTCategoryOf"><title>nalgebra::geometry::SuperTCategoryOf - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc trait"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Trait SuperTCategoryOf</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#implementors">Implementors</a></div><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'SuperTCategoryOf', ty: 'trait', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#47' title='goto source code'>[src]</a></span><span class='in-band'>Trait <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="trait" href=''>SuperTCategoryOf</a></span></h1><div class="docblock type-decl hidden-by-usual-hider"><pre class='rust trait'>pub trait SuperTCategoryOf&lt;Other:&nbsp;<a class="trait" href="../../nalgebra/geometry/trait.TCategory.html" title="trait nalgebra::geometry::TCategory">TCategory</a>&gt;: <a class="trait" href="../../nalgebra/geometry/trait.TCategory.html" title="trait nalgebra::geometry::TCategory">TCategory</a> { }</pre></div><div class='docblock'><p>Indicates that <code>Self</code> is a more general <code>Transform</code> category than <code>Other</code>.</p>
</div>
<h2 id='implementors' class='small-section-header'>Implementors<a href='#implementors' class='anchor'></a></h2><div class='item-list' id='implementors-list'><h3 id='impl-SuperTCategoryOf%3CTAffine%3E' class='impl'><code class='in-band'>impl SuperTCategoryOf&lt;<a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-SuperTCategoryOf%3CTAffine%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#142' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-SuperTCategoryOf%3CTAffine%3E-1' class='impl'><code class='in-band'>impl SuperTCategoryOf&lt;<a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a></code><a href='#impl-SuperTCategoryOf%3CTAffine%3E-1' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#142' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-SuperTCategoryOf%3CTProjective%3E' class='impl'><code class='in-band'>impl SuperTCategoryOf&lt;<a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a>&gt; for <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a></code><a href='#impl-SuperTCategoryOf%3CTProjective%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#142' title='goto source code'>[src]</a></h3><div class='impl-items'></div><h3 id='impl-SuperTCategoryOf%3CT%3E' class='impl'><code class='in-band'>impl&lt;T:&nbsp;<a class="trait" href="../../nalgebra/geometry/trait.TCategory.html" title="trait nalgebra::geometry::TCategory">TCategory</a>&gt; SuperTCategoryOf&lt;T&gt; for T</code><a href='#impl-SuperTCategoryOf%3CT%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/transform.rs.html#146' title='goto source code'>[src]</a></h3><div class='impl-items'></div></div><span class='loading-content'>Loading content...</span><script type="text/javascript">window.inlined_types=new Set([]);</script><script type="text/javascript" async
src="../../implementors/nalgebra/geometry/trait.SuperTCategoryOf.js">
</script></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/enum.TAffine.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/enum.TAffine.html">../../../nalgebra/geometry/enum.TAffine.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/enum.TAffine.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/enum.TGeneral.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/enum.TGeneral.html">../../../nalgebra/geometry/enum.TGeneral.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/enum.TGeneral.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/enum.TProjective.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/enum.TProjective.html">../../../nalgebra/geometry/enum.TProjective.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/enum.TProjective.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/struct.Transform.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/struct.Transform.html">../../../nalgebra/geometry/struct.Transform.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/struct.Transform.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/trait.SubTCategoryOf.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/trait.SubTCategoryOf.html">../../../nalgebra/geometry/trait.SubTCategoryOf.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/trait.SubTCategoryOf.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/trait.SuperTCategoryOf.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/trait.SuperTCategoryOf.html">../../../nalgebra/geometry/trait.SuperTCategoryOf.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/trait.SuperTCategoryOf.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/trait.TCategory.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/trait.TCategory.html">../../../nalgebra/geometry/trait.TCategory.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/trait.TCategory.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/trait.TCategoryMul.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/trait.TCategoryMul.html">../../../nalgebra/geometry/trait.TCategoryMul.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/trait.TCategoryMul.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Affine2.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Affine2.html">../../../nalgebra/geometry/type.Affine2.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Affine2.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Affine3.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Affine3.html">../../../nalgebra/geometry/type.Affine3.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Affine3.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Projective2.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Projective2.html">../../../nalgebra/geometry/type.Projective2.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Projective2.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Projective3.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Projective3.html">../../../nalgebra/geometry/type.Projective3.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Projective3.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Transform2.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Transform2.html">../../../nalgebra/geometry/type.Transform2.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Transform2.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Transform3.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Transform3.html">../../../nalgebra/geometry/type.Transform3.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Transform3.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/struct.Translation.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/struct.Translation.html">../../../nalgebra/geometry/struct.Translation.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/struct.Translation.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Translation1.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Translation1.html">../../../nalgebra/geometry/type.Translation1.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Translation1.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Translation2.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Translation2.html">../../../nalgebra/geometry/type.Translation2.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Translation2.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Translation3.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Translation3.html">../../../nalgebra/geometry/type.Translation3.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Translation3.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Translation4.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Translation4.html">../../../nalgebra/geometry/type.Translation4.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Translation4.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Translation5.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Translation5.html">../../../nalgebra/geometry/type.Translation5.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Translation5.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.Translation6.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.Translation6.html">../../../nalgebra/geometry/type.Translation6.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.Translation6.html" + location.search + location.hash);</script>
</body>
</html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Affine2` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Affine2"><title>nalgebra::geometry::Affine2 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Affine2</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Affine2', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/transform_alias.rs.html#10' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Affine2</a></span></h1><pre class='rust typedef'>type Affine2&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Transform.html" title="struct nalgebra::geometry::Transform">Transform</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>, <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt;;</pre><div class='docblock'><p>A 2D affine transformation. Stored as an homogeneous 3x3 matrix.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Affine3` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Affine3"><title>nalgebra::geometry::Affine3 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Affine3</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Affine3', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/transform_alias.rs.html#17' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Affine3</a></span></h1><pre class='rust typedef'>type Affine3&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Transform.html" title="struct nalgebra::geometry::Transform">Transform</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, <a class="enum" href="../../nalgebra/geometry/enum.TAffine.html" title="enum nalgebra::geometry::TAffine">TAffine</a>&gt;;</pre><div class='docblock'><p>A 3D affine transformation. Stored as an homogeneous 4x4 matrix.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Isometry2` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Isometry2"><title>nalgebra::geometry::Isometry2 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Isometry2</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Isometry2', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/isometry_alias.rs.html#6' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Isometry2</a></span></h1><pre class='rust typedef'>type Isometry2&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Isometry.html" title="struct nalgebra::geometry::Isometry">Isometry</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>, <a class="type" href="../../nalgebra/geometry/type.UnitComplex.html" title="type nalgebra::geometry::UnitComplex">UnitComplex</a>&lt;N&gt;&gt;;</pre><div class='docblock'><p>A 2-dimensional direct isometry using a unit complex number for its rotational part. Also known as a rigid-body motion, or as an element of SE(2).</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Isometry3` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Isometry3"><title>nalgebra::geometry::Isometry3 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Isometry3</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Isometry3', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/isometry_alias.rs.html#9' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Isometry3</a></span></h1><pre class='rust typedef'>type Isometry3&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Isometry.html" title="struct nalgebra::geometry::Isometry">Isometry</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, <a class="type" href="../../nalgebra/geometry/type.UnitQuaternion.html" title="type nalgebra::geometry::UnitQuaternion">UnitQuaternion</a>&lt;N&gt;&gt;;</pre><div class='docblock'><p>A 3-dimensional direct isometry using a unit quaternion for its rotational part. Also known as a rigid-body motion, or as an element of SE(3).</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `IsometryMatrix2` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, IsometryMatrix2"><title>nalgebra::geometry::IsometryMatrix2 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition IsometryMatrix2</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'IsometryMatrix2', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/isometry_alias.rs.html#12' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>IsometryMatrix2</a></span></h1><pre class='rust typedef'>type IsometryMatrix2&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Isometry.html" title="struct nalgebra::geometry::Isometry">Isometry</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>, <a class="type" href="../../nalgebra/geometry/type.Rotation2.html" title="type nalgebra::geometry::Rotation2">Rotation2</a>&lt;N&gt;&gt;;</pre><div class='docblock'><p>A 2-dimensional direct isometry using a rotation matrix for its rotational part. Also known as a rigid-body motion, or as an element of SE(2).</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `IsometryMatrix3` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, IsometryMatrix3"><title>nalgebra::geometry::IsometryMatrix3 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition IsometryMatrix3</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'IsometryMatrix3', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/isometry_alias.rs.html#15' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>IsometryMatrix3</a></span></h1><pre class='rust typedef'>type IsometryMatrix3&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Isometry.html" title="struct nalgebra::geometry::Isometry">Isometry</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, <a class="type" href="../../nalgebra/geometry/type.Rotation3.html" title="type nalgebra::geometry::Rotation3">Rotation3</a>&lt;N&gt;&gt;;</pre><div class='docblock'><p>A 3-dimensional direct isometry using a rotation matrix for its rotational part. Also known as a rigid-body motion, or as an element of SE(3).</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Point1` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Point1"><title>nalgebra::geometry::Point1 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Point1</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Point1', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/point_alias.rs.html#6' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Point1</a></span></h1><pre class='rust typedef'>type Point1&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Point.html" title="struct nalgebra::geometry::Point">Point</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U1.html" title="struct nalgebra::base::dimension::U1">U1</a>&gt;;</pre><div class='docblock'><p>A statically sized 1-dimensional column point.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Point2` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Point2"><title>nalgebra::geometry::Point2 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Point2</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Point2', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/point_alias.rs.html#8' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Point2</a></span></h1><pre class='rust typedef'>type Point2&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Point.html" title="struct nalgebra::geometry::Point">Point</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>&gt;;</pre><div class='docblock'><p>A statically sized 2-dimensional column point.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Point3` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Point3"><title>nalgebra::geometry::Point3 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Point3</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Point3', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/point_alias.rs.html#10' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Point3</a></span></h1><pre class='rust typedef'>type Point3&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Point.html" title="struct nalgebra::geometry::Point">Point</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;;</pre><div class='docblock'><p>A statically sized 3-dimensional column point.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Point4` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Point4"><title>nalgebra::geometry::Point4 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Point4</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Point4', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/point_alias.rs.html#12' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Point4</a></span></h1><pre class='rust typedef'>type Point4&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Point.html" title="struct nalgebra::geometry::Point">Point</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U4.html" title="struct nalgebra::base::dimension::U4">U4</a>&gt;;</pre><div class='docblock'><p>A statically sized 4-dimensional column point.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Point5` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Point5"><title>nalgebra::geometry::Point5 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Point5</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Point5', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/point_alias.rs.html#14' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Point5</a></span></h1><pre class='rust typedef'>type Point5&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Point.html" title="struct nalgebra::geometry::Point">Point</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U5.html" title="struct nalgebra::base::dimension::U5">U5</a>&gt;;</pre><div class='docblock'><p>A statically sized 5-dimensional column point.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Point6` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Point6"><title>nalgebra::geometry::Point6 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Point6</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Point6', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/point_alias.rs.html#16' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Point6</a></span></h1><pre class='rust typedef'>type Point6&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Point.html" title="struct nalgebra::geometry::Point">Point</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U6.html" title="struct nalgebra::base::dimension::U6">U6</a>&gt;;</pre><div class='docblock'><p>A statically sized 6-dimensional column point.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Projective2` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Projective2"><title>nalgebra::geometry::Projective2 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Projective2</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Projective2', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/transform_alias.rs.html#8' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Projective2</a></span></h1><pre class='rust typedef'>type Projective2&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Transform.html" title="struct nalgebra::geometry::Transform">Transform</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>, <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a>&gt;;</pre><div class='docblock'><p>An invertible 2D general transformation. Stored as an homogeneous 3x3 matrix.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Projective3` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Projective3"><title>nalgebra::geometry::Projective3 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Projective3</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Projective3', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/transform_alias.rs.html#15' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Projective3</a></span></h1><pre class='rust typedef'>type Projective3&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Transform.html" title="struct nalgebra::geometry::Transform">Transform</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, <a class="enum" href="../../nalgebra/geometry/enum.TProjective.html" title="enum nalgebra::geometry::TProjective">TProjective</a>&gt;;</pre><div class='docblock'><p>An invertible 3D general transformation. Stored as an homogeneous 4x4 matrix.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,83 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Rotation2` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Rotation2"><title>nalgebra::geometry::Rotation2 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Rotation2</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.angle">angle</a><a href="#method.angle_to">angle_to</a><a href="#method.from_matrix">from_matrix</a><a href="#method.from_matrix_eps">from_matrix_eps</a><a href="#method.from_scaled_axis">from_scaled_axis</a><a href="#method.new">new</a><a href="#method.powf">powf</a><a href="#method.renormalize">renormalize</a><a href="#method.rotation_between">rotation_between</a><a href="#method.rotation_to">rotation_to</a><a href="#method.scaled_axis">scaled_axis</a><a href="#method.scaled_rotation_between">scaled_rotation_between</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-From%3CUnit%3CComplex%3CN%3E%3E%3E">From&lt;Unit&lt;Complex&lt;N&gt;&gt;&gt;</a><a href="#impl-SubsetOf%3CUnit%3CComplex%3CN2%3E%3E%3E">SubsetOf&lt;Unit&lt;Complex&lt;N2&gt;&gt;&gt;</a></div></div><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Rotation2', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/rotation_alias.rs.html#6' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Rotation2</a></span></h1><pre class='rust typedef'>type Rotation2&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Rotation.html" title="struct nalgebra::geometry::Rotation">Rotation</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>&gt;;</pre><div class='docblock'><p>A 2-dimensional rotation matrix.</p>
</div><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl&lt;N:&nbsp;<a class="trait" href="../../nalgebra/trait.RealField.html" title="trait nalgebra::RealField">RealField</a>&gt; <a class="type" href="../../nalgebra/geometry/type.Rotation2.html" title="type nalgebra::geometry::Rotation2">Rotation2</a>&lt;N&gt;</code><a href='#impl' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#23-231' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.new' class="method"><code id='new.v'>pub fn <a href='#method.new' class='fnname'>new</a>(angle: N) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#36-39' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a 2 dimensional rotation matrix from an angle in radian.</p>
<h1 id="example" class="section-header"><a href="#example">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation2</span>::<span class="ident">new</span>(<span class="ident">f32</span>::<span class="ident">consts</span>::<span class="ident">FRAC_PI_2</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span> <span class="op">*</span> <span class="ident">Point2</span>::<span class="ident">new</span>(<span class="number">3.0</span>, <span class="number">4.0</span>), <span class="ident">Point2</span>::<span class="ident">new</span>(<span class="op">-</span><span class="number">4.0</span>, <span class="number">3.0</span>));</pre></div>
</div><h4 id='method.from_scaled_axis' class="method"><code id='from_scaled_axis.v'>pub fn <a href='#method.from_scaled_axis' class='fnname'>from_scaled_axis</a>&lt;SB:&nbsp;<a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U1.html" title="struct nalgebra::base::dimension::U1">U1</a>&gt;&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;axisangle: <a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U1.html" title="struct nalgebra::base::dimension::U1">U1</a>, SB&gt;<br>) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#47-49' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a 2 dimensional rotation matrix from an angle in radian wrapped in a 1-dimensional vector.</p>
<p>This is generally used in the context of generic programming. Using
the <code>::new(angle)</code> method instead is more common.</p>
</div><h4 id='method.from_matrix' class="method"><code id='from_matrix.v'>pub fn <a href='#method.from_matrix' class='fnname'>from_matrix</a>(m: &amp;<a class="type" href="../../nalgebra/base/type.Matrix2.html" title="type nalgebra::base::Matrix2">Matrix2</a>&lt;N&gt;) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#56-58' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a rotation matrix by extracting the rotation part of the given transformation <code>m</code>.</p>
<p>This is an iterative method. See <code>.from_matrix_eps</code> to provide mover
convergence parameters and starting solution.
This implements &quot;A Robust Method to Extract the Rotational Part of Deformations&quot; by Müller et al.</p>
</div><h4 id='method.from_matrix_eps' class="method"><code id='from_matrix_eps.v'>pub fn <a href='#method.from_matrix_eps' class='fnname'>from_matrix_eps</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;m: &amp;<a class="type" href="../../nalgebra/base/type.Matrix2.html" title="type nalgebra::base::Matrix2">Matrix2</a>&lt;N&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;eps: N, <br>&nbsp;&nbsp;&nbsp;&nbsp;max_iter: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;guess: Self<br>) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#72-94' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a rotation matrix by extracting the rotation part of the given transformation <code>m</code>.</p>
<p>This implements &quot;A Robust Method to Extract the Rotational Part of Deformations&quot; by Müller et al.</p>
<h1 id="parameters" class="section-header"><a href="#parameters">Parameters</a></h1>
<ul>
<li><code>m</code>: the matrix from which the rotational part is to be extracted.</li>
<li><code>eps</code>: the angular errors tolerated between the current rotation and the optimal one.</li>
<li><code>max_iter</code>: the maximum number of iterations. Loops indefinitely until convergence if set to <code>0</code>.</li>
<li><code>guess</code>: an estimate of the solution. Convergence will be significantly faster if an initial solution close
to the actual solution is provided. Can be set to <code>Rotation2::identity()</code> if no other
guesses come to mind.</li>
</ul>
</div><h4 id='method.rotation_between' class="method"><code id='rotation_between.v'>pub fn <a href='#method.rotation_between' class='fnname'>rotation_between</a>&lt;SB, SC&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;a: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>, SB&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;b: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>, SC&gt;<br>) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;SB: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;SC: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#111-117' title='goto source code'>[src]</a></h4><div class='docblock'><p>The rotation matrix required to align <code>a</code> and <code>b</code> but with its angle.</p>
<p>This is the rotation <code>R</code> such that <code>(R * a).angle(b) == 0 &amp;&amp; (R * a).dot(b).is_positive()</code>.</p>
<h1 id="example-1" class="section-header"><a href="#example-1">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">a</span> <span class="op">=</span> <span class="ident">Vector2</span>::<span class="ident">new</span>(<span class="number">1.0</span>, <span class="number">2.0</span>);
<span class="kw">let</span> <span class="ident">b</span> <span class="op">=</span> <span class="ident">Vector2</span>::<span class="ident">new</span>(<span class="number">2.0</span>, <span class="number">1.0</span>);
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation2</span>::<span class="ident">rotation_between</span>(<span class="kw-2">&amp;</span><span class="ident">a</span>, <span class="kw-2">&amp;</span><span class="ident">b</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span> <span class="op">*</span> <span class="ident">a</span>, <span class="ident">b</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span>.<span class="ident">inverse</span>() <span class="op">*</span> <span class="ident">b</span>, <span class="ident">a</span>);</pre></div>
</div><h4 id='method.scaled_rotation_between' class="method"><code id='scaled_rotation_between.v'>pub fn <a href='#method.scaled_rotation_between' class='fnname'>scaled_rotation_between</a>&lt;SB, SC&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;a: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>, SB&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;b: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>, SC&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;s: N<br>) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;SB: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;SC: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#134-144' title='goto source code'>[src]</a></h4><div class='docblock'><p>The smallest rotation needed to make <code>a</code> and <code>b</code> collinear and point toward the same
direction, raised to the power <code>s</code>.</p>
<h1 id="example-2" class="section-header"><a href="#example-2">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">a</span> <span class="op">=</span> <span class="ident">Vector2</span>::<span class="ident">new</span>(<span class="number">1.0</span>, <span class="number">2.0</span>);
<span class="kw">let</span> <span class="ident">b</span> <span class="op">=</span> <span class="ident">Vector2</span>::<span class="ident">new</span>(<span class="number">2.0</span>, <span class="number">1.0</span>);
<span class="kw">let</span> <span class="ident">rot2</span> <span class="op">=</span> <span class="ident">Rotation2</span>::<span class="ident">scaled_rotation_between</span>(<span class="kw-2">&amp;</span><span class="ident">a</span>, <span class="kw-2">&amp;</span><span class="ident">b</span>, <span class="number">0.2</span>);
<span class="kw">let</span> <span class="ident">rot5</span> <span class="op">=</span> <span class="ident">Rotation2</span>::<span class="ident">scaled_rotation_between</span>(<span class="kw-2">&amp;</span><span class="ident">a</span>, <span class="kw-2">&amp;</span><span class="ident">b</span>, <span class="number">0.5</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot2</span> <span class="op">*</span> <span class="ident">rot2</span> <span class="op">*</span> <span class="ident">rot2</span> <span class="op">*</span> <span class="ident">rot2</span> <span class="op">*</span> <span class="ident">rot2</span> <span class="op">*</span> <span class="ident">a</span>, <span class="ident">b</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot5</span> <span class="op">*</span> <span class="ident">rot5</span> <span class="op">*</span> <span class="ident">a</span>, <span class="ident">b</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);</pre></div>
</div><h4 id='method.angle' class="method"><code id='angle.v'>pub fn <a href='#method.angle' class='fnname'>angle</a>(&amp;self) -&gt; N</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#156-158' title='goto source code'>[src]</a></h4><div class='docblock'><p>The rotation angle.</p>
<h1 id="example-3" class="section-header"><a href="#example-3">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation2</span>::<span class="ident">new</span>(<span class="number">1.78</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span>.<span class="ident">angle</span>(), <span class="number">1.78</span>);</pre></div>
</div><h4 id='method.angle_to' class="method"><code id='angle_to.v'>pub fn <a href='#method.angle_to' class='fnname'>angle_to</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self) -&gt; N</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#171-173' title='goto source code'>[src]</a></h4><div class='docblock'><p>The rotation angle needed to make <code>self</code> and <code>other</code> coincide.</p>
<h1 id="example-4" class="section-header"><a href="#example-4">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">rot1</span> <span class="op">=</span> <span class="ident">Rotation2</span>::<span class="ident">new</span>(<span class="number">0.1</span>);
<span class="kw">let</span> <span class="ident">rot2</span> <span class="op">=</span> <span class="ident">Rotation2</span>::<span class="ident">new</span>(<span class="number">1.7</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot1</span>.<span class="ident">angle_to</span>(<span class="kw-2">&amp;</span><span class="ident">rot2</span>), <span class="number">1.6</span>);</pre></div>
</div><h4 id='method.rotation_to' class="method"><code id='rotation_to.v'>pub fn <a href='#method.rotation_to' class='fnname'>rotation_to</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#191-193' title='goto source code'>[src]</a></h4><div class='docblock'><p>The rotation matrix needed to make <code>self</code> and <code>other</code> coincide.</p>
<p>The result is such that: <code>self.rotation_to(other) * self == other</code>.</p>
<h1 id="example-5" class="section-header"><a href="#example-5">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">rot1</span> <span class="op">=</span> <span class="ident">Rotation2</span>::<span class="ident">new</span>(<span class="number">0.1</span>);
<span class="kw">let</span> <span class="ident">rot2</span> <span class="op">=</span> <span class="ident">Rotation2</span>::<span class="ident">new</span>(<span class="number">1.7</span>);
<span class="kw">let</span> <span class="ident">rot_to</span> <span class="op">=</span> <span class="ident">rot1</span>.<span class="ident">rotation_to</span>(<span class="kw-2">&amp;</span><span class="ident">rot2</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot_to</span> <span class="op">*</span> <span class="ident">rot1</span>, <span class="ident">rot2</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot_to</span>.<span class="ident">inverse</span>() <span class="op">*</span> <span class="ident">rot2</span>, <span class="ident">rot1</span>);</pre></div>
</div><h4 id='method.renormalize' class="method"><code id='renormalize.v'>pub fn <a href='#method.renormalize' class='fnname'>renormalize</a>(&amp;mut self)</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#199-204' title='goto source code'>[src]</a></h4><div class='docblock'><p>Ensure this rotation is an orthonormal rotation matrix. This is useful when repeated
computations might cause the matrix from progressively not being orthonormal anymore.</p>
</div><h4 id='method.powf' class="method"><code id='powf.v'>pub fn <a href='#method.powf' class='fnname'>powf</a>(&amp;self, n: N) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#219-221' title='goto source code'>[src]</a></h4><div class='docblock'><p>Raise the quaternion to a given floating power, i.e., returns the rotation with the angle
of <code>self</code> multiplied by <code>n</code>.</p>
<h1 id="example-6" class="section-header"><a href="#example-6">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation2</span>::<span class="ident">new</span>(<span class="number">0.78</span>);
<span class="kw">let</span> <span class="ident">pow</span> <span class="op">=</span> <span class="ident">rot</span>.<span class="ident">powf</span>(<span class="number">2.0</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">pow</span>.<span class="ident">angle</span>(), <span class="number">2.0</span> <span class="op">*</span> <span class="number">0.78</span>);</pre></div>
</div><h4 id='method.scaled_axis' class="method"><code id='scaled_axis.v'>pub fn <a href='#method.scaled_axis' class='fnname'>scaled_axis</a>(&amp;self) -&gt; <a class="type" href="../../nalgebra/base/type.VectorN.html" title="type nalgebra::base::VectorN">VectorN</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U1.html" title="struct nalgebra::base::dimension::U1">U1</a>&gt;</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#228-230' title='goto source code'>[src]</a></h4><div class='docblock'><p>The rotation angle returned as a 1-dimensional vector.</p>
<p>This is generally used in the context of generic programming. Using
the <code>.angle()</code> method instead is more common.</p>
</div></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-From%3CUnit%3CComplex%3CN%3E%3E%3E' class='impl'><code class='in-band'>impl&lt;N:&nbsp;<a class="trait" href="../../nalgebra/trait.RealField.html" title="trait nalgebra::RealField">RealField</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../nalgebra/base/struct.Unit.html" title="struct nalgebra::base::Unit">Unit</a>&lt;<a class="struct" href="../../nalgebra/struct.Complex.html" title="struct nalgebra::Complex">Complex</a>&lt;N&gt;&gt;&gt; for <a class="type" href="../../nalgebra/geometry/type.Rotation2.html" title="type nalgebra::geometry::Rotation2">Rotation2</a>&lt;N&gt;</code><a href='#impl-From%3CUnit%3CComplex%3CN%3E%3E%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/unit_complex_conversion.rs.html#158-163' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(q: <a class="type" href="../../nalgebra/geometry/type.UnitComplex.html" title="type nalgebra::geometry::UnitComplex">UnitComplex</a>&lt;N&gt;) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/unit_complex_conversion.rs.html#160-162' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-SubsetOf%3CUnit%3CComplex%3CN2%3E%3E%3E' class='impl'><code class='in-band'>impl&lt;N1, N2&gt; <a class="trait" href="../../alga/general/subset/trait.SubsetOf.html" title="trait alga::general::subset::SubsetOf">SubsetOf</a>&lt;<a class="struct" href="../../nalgebra/base/struct.Unit.html" title="struct nalgebra::base::Unit">Unit</a>&lt;<a class="struct" href="../../nalgebra/struct.Complex.html" title="struct nalgebra::Complex">Complex</a>&lt;N2&gt;&gt;&gt; for <a class="type" href="../../nalgebra/geometry/type.Rotation2.html" title="type nalgebra::geometry::Rotation2">Rotation2</a>&lt;N1&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;N1: <a class="trait" href="../../nalgebra/trait.RealField.html" title="trait nalgebra::RealField">RealField</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;N2: <a class="trait" href="../../nalgebra/trait.RealField.html" title="trait nalgebra::RealField">RealField</a> + <a class="trait" href="../../alga/general/subset/trait.SupersetOf.html" title="trait alga::general::subset::SupersetOf">SupersetOf</a>&lt;N1&gt;,&nbsp;</span></code><a href='#impl-SubsetOf%3CUnit%3CComplex%3CN2%3E%3E%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/rotation_conversion.rs.html#78-99' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.to_superset' class="method hidden"><code id='to_superset.v'>fn <a href='../../alga/general/subset/trait.SubsetOf.html#tymethod.to_superset' class='fnname'>to_superset</a>(&amp;self) -&gt; <a class="type" href="../../nalgebra/geometry/type.UnitComplex.html" title="type nalgebra::geometry::UnitComplex">UnitComplex</a>&lt;N2&gt;</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_conversion.rs.html#84-87' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inclusion map: converts <code>self</code> to the equivalent element of its superset.</p>
</div><h4 id='method.is_in_subset' class="method hidden"><code id='is_in_subset.v'>fn <a href='../../alga/general/subset/trait.SubsetOf.html#tymethod.is_in_subset' class='fnname'>is_in_subset</a>(q: &amp;<a class="type" href="../../nalgebra/geometry/type.UnitComplex.html" title="type nalgebra::geometry::UnitComplex">UnitComplex</a>&lt;N2&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_conversion.rs.html#90-92' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Checks if <code>element</code> is actually part of the subset <code>Self</code> (and can be converted to it).</p>
</div><h4 id='method.from_superset_unchecked' class="method hidden"><code id='from_superset_unchecked.v'>unsafe fn <a href='../../alga/general/subset/trait.SubsetOf.html#tymethod.from_superset_unchecked' class='fnname'>from_superset_unchecked</a>(q: &amp;<a class="type" href="../../nalgebra/geometry/type.UnitComplex.html" title="type nalgebra::geometry::UnitComplex">UnitComplex</a>&lt;N2&gt;) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_conversion.rs.html#95-98' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Use with care! Same as <code>self.to_superset</code> but without any property checks. Always succeeds.</p>
</div><h4 id='method.from_superset' class="method hidden"><code id='from_superset.v'>fn <a href='../../alga/general/subset/trait.SubsetOf.html#method.from_superset' class='fnname'>from_superset</a>(element: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../../src/alga/general/subset.rs.html#32-38' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inverse inclusion map: attempts to construct <code>self</code> from the equivalent element of its superset. <a href="../../alga/general/subset/trait.SubsetOf.html#method.from_superset">Read more</a></p>
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,228 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Rotation3` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Rotation3"><title>nalgebra::geometry::Rotation3 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Rotation3</p><div class="sidebar-elems"><div class="block items"><a class="sidebar-title" href="#methods">Methods</a><div class="sidebar-links"><a href="#method.angle">angle</a><a href="#method.angle_to">angle_to</a><a href="#method.axis">axis</a><a href="#method.axis_angle">axis_angle</a><a href="#method.euler_angles">euler_angles</a><a href="#method.face_towards">face_towards</a><a href="#method.from_axis_angle">from_axis_angle</a><a href="#method.from_euler_angles">from_euler_angles</a><a href="#method.from_matrix">from_matrix</a><a href="#method.from_matrix_eps">from_matrix_eps</a><a href="#method.from_scaled_axis">from_scaled_axis</a><a href="#method.look_at_lh">look_at_lh</a><a href="#method.look_at_rh">look_at_rh</a><a href="#method.new">new</a><a href="#method.new_observer_frames">new_observer_frames</a><a href="#method.powf">powf</a><a href="#method.renormalize">renormalize</a><a href="#method.rotation_between">rotation_between</a><a href="#method.rotation_to">rotation_to</a><a href="#method.scaled_axis">scaled_axis</a><a href="#method.scaled_rotation_between">scaled_rotation_between</a><a href="#method.to_euler_angles">to_euler_angles</a></div><a class="sidebar-title" href="#implementations">Trait Implementations</a><div class="sidebar-links"><a href="#impl-From%3CUnit%3CQuaternion%3CN%3E%3E%3E">From&lt;Unit&lt;Quaternion&lt;N&gt;&gt;&gt;</a><a href="#impl-SubsetOf%3CUnit%3CQuaternion%3CN2%3E%3E%3E">SubsetOf&lt;Unit&lt;Quaternion&lt;N2&gt;&gt;&gt;</a></div></div><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Rotation3', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/rotation_alias.rs.html#9' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Rotation3</a></span></h1><pre class='rust typedef'>type Rotation3&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Rotation.html" title="struct nalgebra::geometry::Rotation">Rotation</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;;</pre><div class='docblock'><p>A 3-dimensional rotation matrix.</p>
</div><h2 id='methods' class='small-section-header'>Methods<a href='#methods' class='anchor'></a></h2><h3 id='impl' class='impl'><code class='in-band'>impl&lt;N:&nbsp;<a class="trait" href="../../nalgebra/trait.RealField.html" title="trait nalgebra::RealField">RealField</a>&gt; <a class="type" href="../../nalgebra/geometry/type.Rotation3.html" title="type nalgebra::geometry::Rotation3">Rotation3</a>&lt;N&gt;</code><a href='#impl' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#258-818' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.new' class="method"><code id='new.v'>pub fn <a href='#method.new' class='fnname'>new</a>&lt;SB:&nbsp;<a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;&gt;(axisangle: <a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SB&gt;) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#282-286' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a 3 dimensional rotation matrix from an axis and an angle.</p>
<h1 id="arguments" class="section-header"><a href="#arguments">Arguments</a></h1>
<ul>
<li><code>axisangle</code> - A vector representing the rotation. Its magnitude is the amount of rotation
in radian. Its direction is the axis of rotation.</li>
</ul>
<h1 id="example" class="section-header"><a href="#example">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">axisangle</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">y</span>() <span class="op">*</span> <span class="ident">f32</span>::<span class="ident">consts</span>::<span class="ident">FRAC_PI_2</span>;
<span class="comment">// Point and vector being transformed in the tests.</span>
<span class="kw">let</span> <span class="ident">pt</span> <span class="op">=</span> <span class="ident">Point3</span>::<span class="ident">new</span>(<span class="number">4.0</span>, <span class="number">5.0</span>, <span class="number">6.0</span>);
<span class="kw">let</span> <span class="ident">vec</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">4.0</span>, <span class="number">5.0</span>, <span class="number">6.0</span>);
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">new</span>(<span class="ident">axisangle</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span> <span class="op">*</span> <span class="ident">pt</span>, <span class="ident">Point3</span>::<span class="ident">new</span>(<span class="number">6.0</span>, <span class="number">5.0</span>, <span class="op">-</span><span class="number">4.0</span>), <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span> <span class="op">*</span> <span class="ident">vec</span>, <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">6.0</span>, <span class="number">5.0</span>, <span class="op">-</span><span class="number">4.0</span>), <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="comment">// A zero vector yields an identity.</span>
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">Rotation3</span>::<span class="ident">new</span>(<span class="ident">Vector3</span>::<span class="op">&lt;</span><span class="ident">f32</span><span class="op">&gt;</span>::<span class="ident">zeros</span>()), <span class="ident">Rotation3</span>::<span class="ident">identity</span>());</pre></div>
</div><h4 id='method.from_matrix' class="method"><code id='from_matrix.v'>pub fn <a href='#method.from_matrix' class='fnname'>from_matrix</a>(m: &amp;<a class="type" href="../../nalgebra/base/type.Matrix3.html" title="type nalgebra::base::Matrix3">Matrix3</a>&lt;N&gt;) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#293-295' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a rotation matrix by extracting the rotation part of the given transformation <code>m</code>.</p>
<p>This is an iterative method. See <code>.from_matrix_eps</code> to provide mover
convergence parameters and starting solution.
This implements &quot;A Robust Method to Extract the Rotational Part of Deformations&quot; by Müller et al.</p>
</div><h4 id='method.from_matrix_eps' class="method"><code id='from_matrix_eps.v'>pub fn <a href='#method.from_matrix_eps' class='fnname'>from_matrix_eps</a>(<br>&nbsp;&nbsp;&nbsp;&nbsp;m: &amp;<a class="type" href="../../nalgebra/base/type.Matrix3.html" title="type nalgebra::base::Matrix3">Matrix3</a>&lt;N&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;eps: N, <br>&nbsp;&nbsp;&nbsp;&nbsp;max_iter: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.usize.html">usize</a>, <br>&nbsp;&nbsp;&nbsp;&nbsp;guess: Self<br>) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#309-334' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a rotation matrix by extracting the rotation part of the given transformation <code>m</code>.</p>
<p>This implements &quot;A Robust Method to Extract the Rotational Part of Deformations&quot; by Müller et al.</p>
<h1 id="parameters" class="section-header"><a href="#parameters">Parameters</a></h1>
<ul>
<li><code>m</code>: the matrix from which the rotational part is to be extracted.</li>
<li><code>eps</code>: the angular errors tolerated between the current rotation and the optimal one.</li>
<li><code>max_iter</code>: the maximum number of iterations. Loops indefinitely until convergence if set to <code>0</code>.</li>
<li><code>guess</code>: a guess of the solution. Convergence will be significantly faster if an initial solution close
to the actual solution is provided. Can be set to <code>Rotation3::identity()</code> if no other
guesses come to mind.</li>
</ul>
</div><h4 id='method.from_scaled_axis' class="method"><code id='from_scaled_axis.v'>pub fn <a href='#method.from_scaled_axis' class='fnname'>from_scaled_axis</a>&lt;SB:&nbsp;<a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;axisangle: <a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SB&gt;<br>) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#357-359' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a 3D rotation matrix from an axis scaled by the rotation angle.</p>
<p>This is the same as <code>Self::new(axisangle)</code>.</p>
<h1 id="example-1" class="section-header"><a href="#example-1">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">axisangle</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">y</span>() <span class="op">*</span> <span class="ident">f32</span>::<span class="ident">consts</span>::<span class="ident">FRAC_PI_2</span>;
<span class="comment">// Point and vector being transformed in the tests.</span>
<span class="kw">let</span> <span class="ident">pt</span> <span class="op">=</span> <span class="ident">Point3</span>::<span class="ident">new</span>(<span class="number">4.0</span>, <span class="number">5.0</span>, <span class="number">6.0</span>);
<span class="kw">let</span> <span class="ident">vec</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">4.0</span>, <span class="number">5.0</span>, <span class="number">6.0</span>);
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">new</span>(<span class="ident">axisangle</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span> <span class="op">*</span> <span class="ident">pt</span>, <span class="ident">Point3</span>::<span class="ident">new</span>(<span class="number">6.0</span>, <span class="number">5.0</span>, <span class="op">-</span><span class="number">4.0</span>), <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span> <span class="op">*</span> <span class="ident">vec</span>, <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">6.0</span>, <span class="number">5.0</span>, <span class="op">-</span><span class="number">4.0</span>), <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="comment">// A zero vector yields an identity.</span>
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">Rotation3</span>::<span class="ident">from_scaled_axis</span>(<span class="ident">Vector3</span>::<span class="op">&lt;</span><span class="ident">f32</span><span class="op">&gt;</span>::<span class="ident">zeros</span>()), <span class="ident">Rotation3</span>::<span class="ident">identity</span>());</pre></div>
</div><h4 id='method.from_axis_angle' class="method"><code id='from_axis_angle.v'>pub fn <a href='#method.from_axis_angle' class='fnname'>from_axis_angle</a>&lt;SB&gt;(axis: &amp;<a class="struct" href="../../nalgebra/base/struct.Unit.html" title="struct nalgebra::base::Unit">Unit</a>&lt;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SB&gt;&gt;, angle: N) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;SB: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#383-409' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a 3D rotation matrix from an axis and a rotation angle.</p>
<h1 id="example-2" class="section-header"><a href="#example-2">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">axis</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">y_axis</span>();
<span class="kw">let</span> <span class="ident">angle</span> <span class="op">=</span> <span class="ident">f32</span>::<span class="ident">consts</span>::<span class="ident">FRAC_PI_2</span>;
<span class="comment">// Point and vector being transformed in the tests.</span>
<span class="kw">let</span> <span class="ident">pt</span> <span class="op">=</span> <span class="ident">Point3</span>::<span class="ident">new</span>(<span class="number">4.0</span>, <span class="number">5.0</span>, <span class="number">6.0</span>);
<span class="kw">let</span> <span class="ident">vec</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">4.0</span>, <span class="number">5.0</span>, <span class="number">6.0</span>);
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_axis_angle</span>(<span class="kw-2">&amp;</span><span class="ident">axis</span>, <span class="ident">angle</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">rot</span>.<span class="ident">axis</span>().<span class="ident">unwrap</span>(), <span class="ident">axis</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">rot</span>.<span class="ident">angle</span>(), <span class="ident">angle</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span> <span class="op">*</span> <span class="ident">pt</span>, <span class="ident">Point3</span>::<span class="ident">new</span>(<span class="number">6.0</span>, <span class="number">5.0</span>, <span class="op">-</span><span class="number">4.0</span>), <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span> <span class="op">*</span> <span class="ident">vec</span>, <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">6.0</span>, <span class="number">5.0</span>, <span class="op">-</span><span class="number">4.0</span>), <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="comment">// A zero vector yields an identity.</span>
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">Rotation3</span>::<span class="ident">from_scaled_axis</span>(<span class="ident">Vector3</span>::<span class="op">&lt;</span><span class="ident">f32</span><span class="op">&gt;</span>::<span class="ident">zeros</span>()), <span class="ident">Rotation3</span>::<span class="ident">identity</span>());</pre></div>
</div><h4 id='method.from_euler_angles' class="method"><code id='from_euler_angles.v'>pub fn <a href='#method.from_euler_angles' class='fnname'>from_euler_angles</a>(roll: N, pitch: N, yaw: N) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#425-441' title='goto source code'>[src]</a></h4><div class='docblock'><p>Creates a new rotation from Euler angles.</p>
<p>The primitive rotations are applied in order: 1 roll 2 pitch 3 yaw.</p>
<h1 id="example-3" class="section-header"><a href="#example-3">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_euler_angles</span>(<span class="number">0.1</span>, <span class="number">0.2</span>, <span class="number">0.3</span>);
<span class="kw">let</span> <span class="ident">euler</span> <span class="op">=</span> <span class="ident">rot</span>.<span class="ident">euler_angles</span>();
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">euler</span>.<span class="number">0</span>, <span class="number">0.1</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">euler</span>.<span class="number">1</span>, <span class="number">0.2</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">euler</span>.<span class="number">2</span>, <span class="number">0.3</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);</pre></div>
</div><h4 id='method.to_euler_angles' class="method"><code id='to_euler_angles.v'>pub fn <a href='#method.to_euler_angles' class='fnname'>to_euler_angles</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>N, N, N<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#447-449' title='goto source code'>[src]</a></h4><div class='stability'><div class='stab deprecated'>Deprecated: <p>This is renamed to use <code>.euler_angles()</code>.</p>
</div></div><div class='docblock'><p>Creates Euler angles from a rotation.</p>
<p>The angles are produced in the form (roll, pitch, yaw).</p>
</div><h4 id='method.euler_angles' class="method"><code id='euler_angles.v'>pub fn <a href='#method.euler_angles' class='fnname'>euler_angles</a>(&amp;self) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a>N, N, N<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#465-482' title='goto source code'>[src]</a></h4><div class='docblock'><p>Euler angles corresponding to this rotation from a rotation.</p>
<p>The angles are produced in the form (roll, pitch, yaw).</p>
<h1 id="example-4" class="section-header"><a href="#example-4">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_euler_angles</span>(<span class="number">0.1</span>, <span class="number">0.2</span>, <span class="number">0.3</span>);
<span class="kw">let</span> <span class="ident">euler</span> <span class="op">=</span> <span class="ident">rot</span>.<span class="ident">euler_angles</span>();
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">euler</span>.<span class="number">0</span>, <span class="number">0.1</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">euler</span>.<span class="number">1</span>, <span class="number">0.2</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">euler</span>.<span class="number">2</span>, <span class="number">0.3</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);</pre></div>
</div><h4 id='method.renormalize' class="method"><code id='renormalize.v'>pub fn <a href='#method.renormalize' class='fnname'>renormalize</a>(&amp;mut self)</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#487-492' title='goto source code'>[src]</a></h4><div class='docblock'><p>Ensure this rotation is an orthonormal rotation matrix. This is useful when repeated
computations might cause the matrix from progressively not being orthonormal anymore.</p>
</div><h4 id='method.face_towards' class="method"><code id='face_towards.v'>pub fn <a href='#method.face_towards' class='fnname'>face_towards</a>&lt;SB, SC&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;dir: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SB&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;up: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SC&gt;<br>) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;SB: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;SC: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#516-528' title='goto source code'>[src]</a></h4><div class='docblock'><p>Creates a rotation that corresponds to the local frame of an observer standing at the
origin and looking toward <code>dir</code>.</p>
<p>It maps the <code>z</code> axis to the direction <code>dir</code>.</p>
<h1 id="arguments-1" class="section-header"><a href="#arguments-1">Arguments</a></h1>
<ul>
<li>dir - The look direction, that is, direction the matrix <code>z</code> axis will be aligned with.</li>
<li>up - The vertical direction. The only requirement of this parameter is to not be
collinear to <code>dir</code>. Non-collinearity is not checked.</li>
</ul>
<h1 id="example-5" class="section-header"><a href="#example-5">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">dir</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">1.0</span>, <span class="number">2.0</span>, <span class="number">3.0</span>);
<span class="kw">let</span> <span class="ident">up</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">y</span>();
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">face_towards</span>(<span class="kw-2">&amp;</span><span class="ident">dir</span>, <span class="kw-2">&amp;</span><span class="ident">up</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span> <span class="op">*</span> <span class="ident">Vector3</span>::<span class="ident">z</span>(), <span class="ident">dir</span>.<span class="ident">normalize</span>());</pre></div>
</div><h4 id='method.new_observer_frames' class="method"><code id='new_observer_frames.v'>pub fn <a href='#method.new_observer_frames' class='fnname'>new_observer_frames</a>&lt;SB, SC&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;dir: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SB&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;up: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SC&gt;<br>) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;SB: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;SC: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#532-538' title='goto source code'>[src]</a></h4><div class='stability'><div class='stab deprecated'>Deprecated: <p>renamed to <code>face_towards</code></p>
</div></div><div class='docblock'><p>Deprecated: Use [Rotation3::face_towards] instead.</p>
</div><h4 id='method.look_at_rh' class="method"><code id='look_at_rh.v'>pub fn <a href='#method.look_at_rh' class='fnname'>look_at_rh</a>&lt;SB, SC&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;dir: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SB&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;up: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SC&gt;<br>) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;SB: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;SC: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#563-569' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a right-handed look-at view matrix without translation.</p>
<p>It maps the view direction <code>dir</code> to the <strong>negative</strong> <code>z</code> axis.
This conforms to the common notion of right handed look-at matrix from the computer
graphics community.</p>
<h1 id="arguments-2" class="section-header"><a href="#arguments-2">Arguments</a></h1>
<ul>
<li>dir - The direction toward which the camera looks.</li>
<li>up - A vector approximately aligned with required the vertical axis. The only
requirement of this parameter is to not be collinear to <code>dir</code>.</li>
</ul>
<h1 id="example-6" class="section-header"><a href="#example-6">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">dir</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">1.0</span>, <span class="number">2.0</span>, <span class="number">3.0</span>);
<span class="kw">let</span> <span class="ident">up</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">y</span>();
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">look_at_rh</span>(<span class="kw-2">&amp;</span><span class="ident">dir</span>, <span class="kw-2">&amp;</span><span class="ident">up</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span> <span class="op">*</span> <span class="ident">dir</span>.<span class="ident">normalize</span>(), <span class="op">-</span><span class="ident">Vector3</span>::<span class="ident">z</span>());</pre></div>
</div><h4 id='method.look_at_lh' class="method"><code id='look_at_lh.v'>pub fn <a href='#method.look_at_lh' class='fnname'>look_at_lh</a>&lt;SB, SC&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;dir: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SB&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;up: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SC&gt;<br>) -&gt; Self <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;SB: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;SC: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#594-600' title='goto source code'>[src]</a></h4><div class='docblock'><p>Builds a left-handed look-at view matrix without translation.</p>
<p>It maps the view direction <code>dir</code> to the <strong>positive</strong> <code>z</code> axis.
This conforms to the common notion of left handed look-at matrix from the computer
graphics community.</p>
<h1 id="arguments-3" class="section-header"><a href="#arguments-3">Arguments</a></h1>
<ul>
<li>dir - The direction toward which the camera looks.</li>
<li>up - A vector approximately aligned with required the vertical axis. The only
requirement of this parameter is to not be collinear to <code>dir</code>.</li>
</ul>
<h1 id="example-7" class="section-header"><a href="#example-7">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">dir</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">1.0</span>, <span class="number">2.0</span>, <span class="number">3.0</span>);
<span class="kw">let</span> <span class="ident">up</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">y</span>();
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">look_at_lh</span>(<span class="kw-2">&amp;</span><span class="ident">dir</span>, <span class="kw-2">&amp;</span><span class="ident">up</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span> <span class="op">*</span> <span class="ident">dir</span>.<span class="ident">normalize</span>(), <span class="ident">Vector3</span>::<span class="ident">z</span>());</pre></div>
</div><h4 id='method.rotation_between' class="method"><code id='rotation_between.v'>pub fn <a href='#method.rotation_between' class='fnname'>rotation_between</a>&lt;SB, SC&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;a: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SB&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;b: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SC&gt;<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;SB: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;SC: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#617-623' title='goto source code'>[src]</a></h4><div class='docblock'><p>The rotation matrix required to align <code>a</code> and <code>b</code> but with its angle.</p>
<p>This is the rotation <code>R</code> such that <code>(R * a).angle(b) == 0 &amp;&amp; (R * a).dot(b).is_positive()</code>.</p>
<h1 id="example-8" class="section-header"><a href="#example-8">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">a</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">1.0</span>, <span class="number">2.0</span>, <span class="number">3.0</span>);
<span class="kw">let</span> <span class="ident">b</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">3.0</span>, <span class="number">1.0</span>, <span class="number">2.0</span>);
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">rotation_between</span>(<span class="kw-2">&amp;</span><span class="ident">a</span>, <span class="kw-2">&amp;</span><span class="ident">b</span>).<span class="ident">unwrap</span>();
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span> <span class="op">*</span> <span class="ident">a</span>, <span class="ident">b</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span>.<span class="ident">inverse</span>() <span class="op">*</span> <span class="ident">b</span>, <span class="ident">a</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);</pre></div>
</div><h4 id='method.scaled_rotation_between' class="method"><code id='scaled_rotation_between.v'>pub fn <a href='#method.scaled_rotation_between' class='fnname'>scaled_rotation_between</a>&lt;SB, SC&gt;(<br>&nbsp;&nbsp;&nbsp;&nbsp;a: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SB&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;b: &amp;<a class="type" href="../../nalgebra/base/type.Vector.html" title="type nalgebra::base::Vector">Vector</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, SC&gt;, <br>&nbsp;&nbsp;&nbsp;&nbsp;n: N<br>) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;SB: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,<br>&nbsp;&nbsp;&nbsp;&nbsp;SC: <a class="trait" href="../../nalgebra/base/storage/trait.Storage.html" title="trait nalgebra::base::storage::Storage">Storage</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;,&nbsp;</span></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#640-668' title='goto source code'>[src]</a></h4><div class='docblock'><p>The smallest rotation needed to make <code>a</code> and <code>b</code> collinear and point toward the same
direction, raised to the power <code>s</code>.</p>
<h1 id="example-9" class="section-header"><a href="#example-9">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">a</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">1.0</span>, <span class="number">2.0</span>, <span class="number">3.0</span>);
<span class="kw">let</span> <span class="ident">b</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">3.0</span>, <span class="number">1.0</span>, <span class="number">2.0</span>);
<span class="kw">let</span> <span class="ident">rot2</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">scaled_rotation_between</span>(<span class="kw-2">&amp;</span><span class="ident">a</span>, <span class="kw-2">&amp;</span><span class="ident">b</span>, <span class="number">0.2</span>).<span class="ident">unwrap</span>();
<span class="kw">let</span> <span class="ident">rot5</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">scaled_rotation_between</span>(<span class="kw-2">&amp;</span><span class="ident">a</span>, <span class="kw-2">&amp;</span><span class="ident">b</span>, <span class="number">0.5</span>).<span class="ident">unwrap</span>();
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot2</span> <span class="op">*</span> <span class="ident">rot2</span> <span class="op">*</span> <span class="ident">rot2</span> <span class="op">*</span> <span class="ident">rot2</span> <span class="op">*</span> <span class="ident">rot2</span> <span class="op">*</span> <span class="ident">a</span>, <span class="ident">b</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot5</span> <span class="op">*</span> <span class="ident">rot5</span> <span class="op">*</span> <span class="ident">a</span>, <span class="ident">b</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);</pre></div>
</div><h4 id='method.angle' class="method"><code id='angle.v'>pub fn <a href='#method.angle' class='fnname'>angle</a>(&amp;self) -&gt; N</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#681-685' title='goto source code'>[src]</a></h4><div class='docblock'><p>The rotation angle in [0; pi].</p>
<h1 id="example-10" class="section-header"><a href="#example-10">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">axis</span> <span class="op">=</span> <span class="ident">Unit</span>::<span class="ident">new_normalize</span>(<span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">1.0</span>, <span class="number">2.0</span>, <span class="number">3.0</span>));
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_axis_angle</span>(<span class="kw-2">&amp;</span><span class="ident">axis</span>, <span class="number">1.78</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span>.<span class="ident">angle</span>(), <span class="number">1.78</span>);</pre></div>
</div><h4 id='method.axis' class="method"><code id='axis.v'>pub fn <a href='#method.axis' class='fnname'>axis</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="struct" href="../../nalgebra/base/struct.Unit.html" title="struct nalgebra::base::Unit">Unit</a>&lt;<a class="type" href="../../nalgebra/base/type.Vector3.html" title="type nalgebra::base::Vector3">Vector3</a>&lt;N&gt;&gt;&gt;</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#703-711' title='goto source code'>[src]</a></h4><div class='docblock'><p>The rotation axis. Returns <code>None</code> if the rotation angle is zero or PI.</p>
<h1 id="example-11" class="section-header"><a href="#example-11">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">axis</span> <span class="op">=</span> <span class="ident">Unit</span>::<span class="ident">new_normalize</span>(<span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">1.0</span>, <span class="number">2.0</span>, <span class="number">3.0</span>));
<span class="kw">let</span> <span class="ident">angle</span> <span class="op">=</span> <span class="number">1.2</span>;
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_axis_angle</span>(<span class="kw-2">&amp;</span><span class="ident">axis</span>, <span class="ident">angle</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span>.<span class="ident">axis</span>().<span class="ident">unwrap</span>(), <span class="ident">axis</span>);
<span class="comment">// Case with a zero angle.</span>
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_axis_angle</span>(<span class="kw-2">&amp;</span><span class="ident">axis</span>, <span class="number">0.0</span>);
<span class="macro">assert</span><span class="macro">!</span>(<span class="ident">rot</span>.<span class="ident">axis</span>().<span class="ident">is_none</span>());</pre></div>
</div><h4 id='method.scaled_axis' class="method"><code id='scaled_axis.v'>pub fn <a href='#method.scaled_axis' class='fnname'>scaled_axis</a>(&amp;self) -&gt; <a class="type" href="../../nalgebra/base/type.Vector3.html" title="type nalgebra::base::Vector3">Vector3</a>&lt;N&gt;</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#724-730' title='goto source code'>[src]</a></h4><div class='docblock'><p>The rotation axis multiplied by the rotation angle.</p>
<h1 id="example-12" class="section-header"><a href="#example-12">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">axisangle</span> <span class="op">=</span> <span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">0.1</span>, <span class="number">0.2</span>, <span class="number">0.3</span>);
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">new</span>(<span class="ident">axisangle</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot</span>.<span class="ident">scaled_axis</span>(), <span class="ident">axisangle</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);</pre></div>
</div><h4 id='method.axis_angle' class="method"><code id='axis_angle.v'>pub fn <a href='#method.axis_angle' class='fnname'>axis_angle</a>(&amp;self) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">(</a><a class="struct" href="../../nalgebra/base/struct.Unit.html" title="struct nalgebra::base::Unit">Unit</a>&lt;<a class="type" href="../../nalgebra/base/type.Vector3.html" title="type nalgebra::base::Vector3">Vector3</a>&lt;N&gt;&gt;, N<a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.tuple.html">)</a>&gt;</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#752-758' title='goto source code'>[src]</a></h4><div class='docblock'><p>The rotation axis and angle in ]0, pi] of this unit quaternion.</p>
<p>Returns <code>None</code> if the angle is zero.</p>
<h1 id="example-13" class="section-header"><a href="#example-13">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">axis</span> <span class="op">=</span> <span class="ident">Unit</span>::<span class="ident">new_normalize</span>(<span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">1.0</span>, <span class="number">2.0</span>, <span class="number">3.0</span>));
<span class="kw">let</span> <span class="ident">angle</span> <span class="op">=</span> <span class="number">1.2</span>;
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_axis_angle</span>(<span class="kw-2">&amp;</span><span class="ident">axis</span>, <span class="ident">angle</span>);
<span class="kw">let</span> <span class="ident">axis_angle</span> <span class="op">=</span> <span class="ident">rot</span>.<span class="ident">axis_angle</span>().<span class="ident">unwrap</span>();
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">axis_angle</span>.<span class="number">0</span>, <span class="ident">axis</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">axis_angle</span>.<span class="number">1</span>, <span class="ident">angle</span>);
<span class="comment">// Case with a zero angle.</span>
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_axis_angle</span>(<span class="kw-2">&amp;</span><span class="ident">axis</span>, <span class="number">0.0</span>);
<span class="macro">assert</span><span class="macro">!</span>(<span class="ident">rot</span>.<span class="ident">axis_angle</span>().<span class="ident">is_none</span>());</pre></div>
</div><h4 id='method.angle_to' class="method"><code id='angle_to.v'>pub fn <a href='#method.angle_to' class='fnname'>angle_to</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self) -&gt; N</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#771-773' title='goto source code'>[src]</a></h4><div class='docblock'><p>The rotation angle needed to make <code>self</code> and <code>other</code> coincide.</p>
<h1 id="example-14" class="section-header"><a href="#example-14">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">rot1</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_axis_angle</span>(<span class="kw-2">&amp;</span><span class="ident">Vector3</span>::<span class="ident">y_axis</span>(), <span class="number">1.0</span>);
<span class="kw">let</span> <span class="ident">rot2</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_axis_angle</span>(<span class="kw-2">&amp;</span><span class="ident">Vector3</span>::<span class="ident">x_axis</span>(), <span class="number">0.1</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot1</span>.<span class="ident">angle_to</span>(<span class="kw-2">&amp;</span><span class="ident">rot2</span>), <span class="number">1.0045657</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);</pre></div>
</div><h4 id='method.rotation_to' class="method"><code id='rotation_to.v'>pub fn <a href='#method.rotation_to' class='fnname'>rotation_to</a>(&amp;self, other: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>Self) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#789-791' title='goto source code'>[src]</a></h4><div class='docblock'><p>The rotation matrix needed to make <code>self</code> and <code>other</code> coincide.</p>
<p>The result is such that: <code>self.rotation_to(other) * self == other</code>.</p>
<h1 id="example-15" class="section-header"><a href="#example-15">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">rot1</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_axis_angle</span>(<span class="kw-2">&amp;</span><span class="ident">Vector3</span>::<span class="ident">y_axis</span>(), <span class="number">1.0</span>);
<span class="kw">let</span> <span class="ident">rot2</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_axis_angle</span>(<span class="kw-2">&amp;</span><span class="ident">Vector3</span>::<span class="ident">x_axis</span>(), <span class="number">0.1</span>);
<span class="kw">let</span> <span class="ident">rot_to</span> <span class="op">=</span> <span class="ident">rot1</span>.<span class="ident">rotation_to</span>(<span class="kw-2">&amp;</span><span class="ident">rot2</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">rot_to</span> <span class="op">*</span> <span class="ident">rot1</span>, <span class="ident">rot2</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);</pre></div>
</div><h4 id='method.powf' class="method"><code id='powf.v'>pub fn <a href='#method.powf' class='fnname'>powf</a>(&amp;self, n: N) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_specialization.rs.html#808-817' title='goto source code'>[src]</a></h4><div class='docblock'><p>Raise the quaternion to a given floating power, i.e., returns the rotation with the same
axis as <code>self</code> and an angle equal to <code>self.angle()</code> multiplied by <code>n</code>.</p>
<h1 id="example-16" class="section-header"><a href="#example-16">Example</a></h1>
<div class="example-wrap"><pre class="rust rust-example-rendered">
<span class="kw">let</span> <span class="ident">axis</span> <span class="op">=</span> <span class="ident">Unit</span>::<span class="ident">new_normalize</span>(<span class="ident">Vector3</span>::<span class="ident">new</span>(<span class="number">1.0</span>, <span class="number">2.0</span>, <span class="number">3.0</span>));
<span class="kw">let</span> <span class="ident">angle</span> <span class="op">=</span> <span class="number">1.2</span>;
<span class="kw">let</span> <span class="ident">rot</span> <span class="op">=</span> <span class="ident">Rotation3</span>::<span class="ident">from_axis_angle</span>(<span class="kw-2">&amp;</span><span class="ident">axis</span>, <span class="ident">angle</span>);
<span class="kw">let</span> <span class="ident">pow</span> <span class="op">=</span> <span class="ident">rot</span>.<span class="ident">powf</span>(<span class="number">2.0</span>);
<span class="macro">assert_relative_eq</span><span class="macro">!</span>(<span class="ident">pow</span>.<span class="ident">axis</span>().<span class="ident">unwrap</span>(), <span class="ident">axis</span>, <span class="ident">epsilon</span> <span class="op">=</span> <span class="number">1.0e-6</span>);
<span class="macro">assert_eq</span><span class="macro">!</span>(<span class="ident">pow</span>.<span class="ident">angle</span>(), <span class="number">2.4</span>);</pre></div>
</div></div><h2 id='implementations' class='small-section-header'>Trait Implementations<a href='#implementations' class='anchor'></a></h2><div id='implementations-list'><h3 id='impl-From%3CUnit%3CQuaternion%3CN%3E%3E%3E' class='impl'><code class='in-band'>impl&lt;N:&nbsp;<a class="trait" href="../../nalgebra/trait.RealField.html" title="trait nalgebra::RealField">RealField</a>&gt; <a class="trait" href="https://doc.rust-lang.org/nightly/core/convert/trait.From.html" title="trait core::convert::From">From</a>&lt;<a class="struct" href="../../nalgebra/base/struct.Unit.html" title="struct nalgebra::base::Unit">Unit</a>&lt;<a class="struct" href="../../nalgebra/geometry/struct.Quaternion.html" title="struct nalgebra::geometry::Quaternion">Quaternion</a>&lt;N&gt;&gt;&gt; for <a class="type" href="../../nalgebra/geometry/type.Rotation3.html" title="type nalgebra::geometry::Rotation3">Rotation3</a>&lt;N&gt;</code><a href='#impl-From%3CUnit%3CQuaternion%3CN%3E%3E%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/quaternion_conversion.rs.html#228-233' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.from' class="method hidden"><code id='from.v'>fn <a href='https://doc.rust-lang.org/nightly/core/convert/trait.From.html#tymethod.from' class='fnname'>from</a>(q: <a class="type" href="../../nalgebra/geometry/type.UnitQuaternion.html" title="type nalgebra::geometry::UnitQuaternion">UnitQuaternion</a>&lt;N&gt;) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/quaternion_conversion.rs.html#230-232' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Performs the conversion.</p>
</div></div><h3 id='impl-SubsetOf%3CUnit%3CQuaternion%3CN2%3E%3E%3E' class='impl'><code class='in-band'>impl&lt;N1, N2&gt; <a class="trait" href="../../alga/general/subset/trait.SubsetOf.html" title="trait alga::general::subset::SubsetOf">SubsetOf</a>&lt;<a class="struct" href="../../nalgebra/base/struct.Unit.html" title="struct nalgebra::base::Unit">Unit</a>&lt;<a class="struct" href="../../nalgebra/geometry/struct.Quaternion.html" title="struct nalgebra::geometry::Quaternion">Quaternion</a>&lt;N2&gt;&gt;&gt; for <a class="type" href="../../nalgebra/geometry/type.Rotation3.html" title="type nalgebra::geometry::Rotation3">Rotation3</a>&lt;N1&gt; <span class="where fmt-newline">where<br>&nbsp;&nbsp;&nbsp;&nbsp;N1: <a class="trait" href="../../nalgebra/trait.RealField.html" title="trait nalgebra::RealField">RealField</a>,<br>&nbsp;&nbsp;&nbsp;&nbsp;N2: <a class="trait" href="../../nalgebra/trait.RealField.html" title="trait nalgebra::RealField">RealField</a> + <a class="trait" href="../../alga/general/subset/trait.SupersetOf.html" title="trait alga::general::subset::SupersetOf">SupersetOf</a>&lt;N1&gt;,&nbsp;</span></code><a href='#impl-SubsetOf%3CUnit%3CQuaternion%3CN2%3E%3E%3E' class='anchor'></a><a class='srclink' href='../../src/nalgebra/geometry/rotation_conversion.rs.html#55-76' title='goto source code'>[src]</a></h3><div class='impl-items'><h4 id='method.to_superset' class="method hidden"><code id='to_superset.v'>fn <a href='../../alga/general/subset/trait.SubsetOf.html#tymethod.to_superset' class='fnname'>to_superset</a>(&amp;self) -&gt; <a class="type" href="../../nalgebra/geometry/type.UnitQuaternion.html" title="type nalgebra::geometry::UnitQuaternion">UnitQuaternion</a>&lt;N2&gt;</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_conversion.rs.html#61-64' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inclusion map: converts <code>self</code> to the equivalent element of its superset.</p>
</div><h4 id='method.is_in_subset' class="method hidden"><code id='is_in_subset.v'>fn <a href='../../alga/general/subset/trait.SubsetOf.html#tymethod.is_in_subset' class='fnname'>is_in_subset</a>(q: &amp;<a class="type" href="../../nalgebra/geometry/type.UnitQuaternion.html" title="type nalgebra::geometry::UnitQuaternion">UnitQuaternion</a>&lt;N2&gt;) -&gt; <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.bool.html">bool</a></code><a class='srclink' href='../../src/nalgebra/geometry/rotation_conversion.rs.html#67-69' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Checks if <code>element</code> is actually part of the subset <code>Self</code> (and can be converted to it).</p>
</div><h4 id='method.from_superset_unchecked' class="method hidden"><code id='from_superset_unchecked.v'>unsafe fn <a href='../../alga/general/subset/trait.SubsetOf.html#tymethod.from_superset_unchecked' class='fnname'>from_superset_unchecked</a>(q: &amp;<a class="type" href="../../nalgebra/geometry/type.UnitQuaternion.html" title="type nalgebra::geometry::UnitQuaternion">UnitQuaternion</a>&lt;N2&gt;) -&gt; Self</code><a class='srclink' href='../../src/nalgebra/geometry/rotation_conversion.rs.html#72-75' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>Use with care! Same as <code>self.to_superset</code> but without any property checks. Always succeeds.</p>
</div><h4 id='method.from_superset' class="method hidden"><code id='from_superset.v'>fn <a href='../../alga/general/subset/trait.SubsetOf.html#method.from_superset' class='fnname'>from_superset</a>(element: <a class="primitive" href="https://doc.rust-lang.org/nightly/std/primitive.reference.html">&amp;</a>T) -&gt; <a class="enum" href="https://doc.rust-lang.org/nightly/core/option/enum.Option.html" title="enum core::option::Option">Option</a>&lt;Self&gt;</code><a class='srclink' href='../../src/alga/general/subset.rs.html#32-38' title='goto source code'>[src]</a></h4><div class='docblock hidden'><p>The inverse inclusion map: attempts to construct <code>self</code> from the equivalent element of its superset. <a href="../../alga/general/subset/trait.SubsetOf.html#method.from_superset">Read more</a></p>
</div></div></div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Similarity2` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Similarity2"><title>nalgebra::geometry::Similarity2 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Similarity2</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Similarity2', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/similarity_alias.rs.html#6' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Similarity2</a></span></h1><pre class='rust typedef'>type Similarity2&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Similarity.html" title="struct nalgebra::geometry::Similarity">Similarity</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>, <a class="type" href="../../nalgebra/geometry/type.UnitComplex.html" title="type nalgebra::geometry::UnitComplex">UnitComplex</a>&lt;N&gt;&gt;;</pre><div class='docblock'><p>A 2-dimensional similarity.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Similarity3` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Similarity3"><title>nalgebra::geometry::Similarity3 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Similarity3</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Similarity3', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/similarity_alias.rs.html#9' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Similarity3</a></span></h1><pre class='rust typedef'>type Similarity3&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Similarity.html" title="struct nalgebra::geometry::Similarity">Similarity</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, <a class="type" href="../../nalgebra/geometry/type.UnitQuaternion.html" title="type nalgebra::geometry::UnitQuaternion">UnitQuaternion</a>&lt;N&gt;&gt;;</pre><div class='docblock'><p>A 3-dimensional similarity.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `SimilarityMatrix2` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, SimilarityMatrix2"><title>nalgebra::geometry::SimilarityMatrix2 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition SimilarityMatrix2</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'SimilarityMatrix2', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/similarity_alias.rs.html#12' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>SimilarityMatrix2</a></span></h1><pre class='rust typedef'>type SimilarityMatrix2&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Similarity.html" title="struct nalgebra::geometry::Similarity">Similarity</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>, <a class="type" href="../../nalgebra/geometry/type.Rotation2.html" title="type nalgebra::geometry::Rotation2">Rotation2</a>&lt;N&gt;&gt;;</pre><div class='docblock'><p>A 2-dimensional similarity using a rotation matrix for its rotation part.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `SimilarityMatrix3` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, SimilarityMatrix3"><title>nalgebra::geometry::SimilarityMatrix3 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition SimilarityMatrix3</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'SimilarityMatrix3', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/similarity_alias.rs.html#15' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>SimilarityMatrix3</a></span></h1><pre class='rust typedef'>type SimilarityMatrix3&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Similarity.html" title="struct nalgebra::geometry::Similarity">Similarity</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, <a class="type" href="../../nalgebra/geometry/type.Rotation3.html" title="type nalgebra::geometry::Rotation3">Rotation3</a>&lt;N&gt;&gt;;</pre><div class='docblock'><p>A 3-dimensional similarity using a rotation matrix for its rotation part.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Transform2` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Transform2"><title>nalgebra::geometry::Transform2 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Transform2</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Transform2', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/transform_alias.rs.html#6' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Transform2</a></span></h1><pre class='rust typedef'>type Transform2&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Transform.html" title="struct nalgebra::geometry::Transform">Transform</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>, <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a>&gt;;</pre><div class='docblock'><p>A 2D general transformation that may not be invertible. Stored as an homogeneous 3x3 matrix.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Transform3` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Transform3"><title>nalgebra::geometry::Transform3 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Transform3</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Transform3', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/transform_alias.rs.html#13' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Transform3</a></span></h1><pre class='rust typedef'>type Transform3&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Transform.html" title="struct nalgebra::geometry::Transform">Transform</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>, <a class="enum" href="../../nalgebra/geometry/enum.TGeneral.html" title="enum nalgebra::geometry::TGeneral">TGeneral</a>&gt;;</pre><div class='docblock'><p>A 3D general transformation that may not be inversible. Stored as an homogeneous 4x4 matrix.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Translation1` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Translation1"><title>nalgebra::geometry::Translation1 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Translation1</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Translation1', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/translation_alias.rs.html#6' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Translation1</a></span></h1><pre class='rust typedef'>type Translation1&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Translation.html" title="struct nalgebra::geometry::Translation">Translation</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U1.html" title="struct nalgebra::base::dimension::U1">U1</a>&gt;;</pre><div class='docblock'><p>A 1-dimensional translation.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Translation2` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Translation2"><title>nalgebra::geometry::Translation2 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Translation2</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Translation2', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/translation_alias.rs.html#9' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Translation2</a></span></h1><pre class='rust typedef'>type Translation2&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Translation.html" title="struct nalgebra::geometry::Translation">Translation</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U2.html" title="struct nalgebra::base::dimension::U2">U2</a>&gt;;</pre><div class='docblock'><p>A 2-dimensional translation.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Translation3` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Translation3"><title>nalgebra::geometry::Translation3 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Translation3</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Translation3', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/translation_alias.rs.html#12' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Translation3</a></span></h1><pre class='rust typedef'>type Translation3&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Translation.html" title="struct nalgebra::geometry::Translation">Translation</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U3.html" title="struct nalgebra::base::dimension::U3">U3</a>&gt;;</pre><div class='docblock'><p>A 3-dimensional translation.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Translation4` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Translation4"><title>nalgebra::geometry::Translation4 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Translation4</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Translation4', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/translation_alias.rs.html#15' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Translation4</a></span></h1><pre class='rust typedef'>type Translation4&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Translation.html" title="struct nalgebra::geometry::Translation">Translation</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U4.html" title="struct nalgebra::base::dimension::U4">U4</a>&gt;;</pre><div class='docblock'><p>A 4-dimensional translation.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Translation5` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Translation5"><title>nalgebra::geometry::Translation5 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Translation5</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Translation5', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/translation_alias.rs.html#18' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Translation5</a></span></h1><pre class='rust typedef'>type Translation5&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Translation.html" title="struct nalgebra::geometry::Translation">Translation</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U5.html" title="struct nalgebra::base::dimension::U5">U5</a>&gt;;</pre><div class='docblock'><p>A 5-dimensional translation.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

View File

@@ -0,0 +1,2 @@
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `Translation6` type in crate `nalgebra`."><meta name="keywords" content="rust, rustlang, rust-lang, Translation6"><title>nalgebra::geometry::Translation6 - Rust</title><link rel="stylesheet" type="text/css" href="../../normalize.css"><link rel="stylesheet" type="text/css" href="../../rustdoc.css" id="mainThemeStyle"><link rel="stylesheet" type="text/css" href="../../dark.css"><link rel="stylesheet" type="text/css" href="../../light.css" id="themeStyle"><script src="../../storage.js"></script><noscript><link rel="stylesheet" href="../../noscript.css"></noscript><link rel="shortcut icon" href="http://nalgebra.org/img/favicon.ico"><style type="text/css">#crate-search{background-image:url("../../down-arrow.svg");}</style></head><body class="rustdoc type"><!--[if lte IE 8]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="sidebar"><div class="sidebar-menu">&#9776;</div><a href='../../nalgebra/index.html'><div class='logo-container'><img src='../../rust-logo.png' alt='logo'></div></a><p class='location'>Type Definition Translation6</p><div class="sidebar-elems"><p class='location'><a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a></p><script>window.sidebarCurrent = {name: 'Translation6', ty: 'type', relpath: ''};</script><script defer src="sidebar-items.js"></script></div></nav><div class="theme-picker"><button id="theme-picker" aria-label="Pick another theme!"><img src="../../brush.svg" width="18" alt="Pick another theme!"></button><div id="theme-choices"></div></div><script src="../../theme.js"></script><nav class="sub"><form class="search-form js-only"><div class="search-container"><div><select id="crate-search"><option value="All crates">All crates</option></select><input class="search-input" name="search" autocomplete="off" spellcheck="false" placeholder="Click or press S to search, ? for more options…" type="search"></div><a id="settings-menu" href="../../settings.html"><img src="../../wheel.svg" width="18" alt="Change settings"></a></div></form></nav><section id="main" class="content"><h1 class='fqn'><span class='out-of-band'><span id='render-detail'><a id="toggle-all-docs" href="javascript:void(0)" title="collapse all docs">[<span class='inner'>&#x2212;</span>]</a></span><a class='srclink' href='../../src/nalgebra/geometry/translation_alias.rs.html#21' title='goto source code'>[src]</a></span><span class='in-band'>Type Definition <a href='../index.html'>nalgebra</a>::<wbr><a href='index.html'>geometry</a>::<wbr><a class="type" href=''>Translation6</a></span></h1><pre class='rust typedef'>type Translation6&lt;N&gt; = <a class="struct" href="../../nalgebra/geometry/struct.Translation.html" title="struct nalgebra::geometry::Translation">Translation</a>&lt;N, <a class="struct" href="../../nalgebra/base/dimension/struct.U6.html" title="struct nalgebra::base::dimension::U6">U6</a>&gt;;</pre><div class='docblock'><p>A 6-dimensional translation.</p>
</div></section><section id="search" class="content hidden"></section><section class="footer"></section><aside id="help" class="hidden"><div><h1 class="hidden">Help</h1><div class="shortcuts"><h2>Keyboard Shortcuts</h2><dl><dt><kbd>?</kbd></dt><dd>Show this help dialog</dd><dt><kbd>S</kbd></dt><dd>Focus the search field</dd><dt><kbd></kbd></dt><dd>Move up in search results</dd><dt><kbd></kbd></dt><dd>Move down in search results</dd><dt><kbd></kbd></dt><dd>Switch tab</dd><dt><kbd>&#9166;</kbd></dt><dd>Go to active search result</dd><dt><kbd>+</kbd></dt><dd>Expand all sections</dd><dt><kbd>-</kbd></dt><dd>Collapse all sections</dd></dl></div><div class="infos"><h2>Search Tricks</h2><p>Prefix searches with a type followed by a colon (e.g., <code>fn:</code>) to restrict the search to a given type.</p><p>Accepted types are: <code>fn</code>, <code>mod</code>, <code>struct</code>, <code>enum</code>, <code>trait</code>, <code>type</code>, <code>macro</code>, and <code>const</code>.</p><p>Search functions by type signature (e.g., <code>vec -> usize</code> or <code>* -> vec</code>)</p><p>Search multiple things at once by splitting your query with comma (e.g., <code>str,u8</code> or <code>String,struct:Vec,test</code>)</p></div></div></aside><script>window.rootPath = "../../";window.currentCrate = "nalgebra";</script><script src="../../aliases.js"></script><script src="../../main.js"></script><script defer src="../../search-index.js"></script></body></html>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,10 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="refresh" content="0;URL=../../../nalgebra/geometry/type.UnitComplex.html">
</head>
<body>
<p>Redirecting to <a href="../../../nalgebra/geometry/type.UnitComplex.html">../../../nalgebra/geometry/type.UnitComplex.html</a>...</p>
<script>location.replace("../../../nalgebra/geometry/type.UnitComplex.html" + location.search + location.hash);</script>
</body>
</html>