|
512 | 512 | <div class="line"><a id="l00338" name="l00338"></a><span class="lineno"> 338</span> </div> |
513 | 513 | <div class="line"><a id="l00339" name="l00339"></a><span class="lineno"> 339</span> T error = 0;</div> |
514 | 514 | <div class="line"><a id="l00340" name="l00340"></a><span class="lineno"> 340</span> <span class="keywordflow">for</span> ( <span class="keyword">auto</span> p : points )</div> |
515 | | -<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> error = error + ( cone.projectPoint( p ) - p ).<a class="code hl_function" href="namespaceMR_1_1ImGuiMath.html#a9b787db1b3551a333f5fae1addb214bd">lengthSq</a>();</div> |
| 515 | +<div class="line"><a id="l00341" name="l00341"></a><span class="lineno"> 341</span> error = error + <a class="code hl_function" href="group__IntersectionGroup.html#ga8fe41c203bb90cc8a7dc06426f6682f4">distanceSq</a>( cone.projectPoint( p ), p );</div> |
516 | 516 | <div class="line"><a id="l00342" name="l00342"></a><span class="lineno"> 342</span> </div> |
517 | 517 | <div class="line"><a id="l00343" name="l00343"></a><span class="lineno"> 343</span> <span class="keywordflow">return</span> error / points.size();</div> |
518 | 518 | <div class="line"><a id="l00344" name="l00344"></a><span class="lineno"> 344</span> }</div> |
|
683 | 683 | <div class="ttc" id="aclassMR_1_1Cone3Approximation_html_a7c6a542eabe69884f78ec5044ab1df50"><div class="ttname"><a href="classMR_1_1Cone3Approximation.html#a7c6a542eabe69884f78ec5044ab1df50">MR::Cone3Approximation::solve</a></div><div class="ttdeci">T solve(const std::vector< MR::Vector3< T > > &points, Cone3< T > &cone, const Cone3ApproximationParams &params={})</div><div class="ttdef"><b>Definition</b> MRConeApproximator.h:163</div></div> |
684 | 684 | <div class="ttc" id="aclassMR_1_1Cone3Approximation_html_a9d2c7bacbeba26d79da0394635646651"><div class="ttname"><a href="classMR_1_1Cone3Approximation.html#a9d2c7bacbeba26d79da0394635646651">MR::Cone3Approximation::Cone3Approximation</a></div><div class="ttdeci">Cone3Approximation()=default</div></div> |
685 | 685 | <div class="ttc" id="aclassMR_1_1Cone3_html"><div class="ttname"><a href="classMR_1_1Cone3.html">MR::Cone3</a></div><div class="ttdef"><b>Definition</b> MRCone3.h:11</div></div> |
| 686 | +<div class="ttc" id="agroup__IntersectionGroup_html_ga8fe41c203bb90cc8a7dc06426f6682f4"><div class="ttname"><a href="group__IntersectionGroup.html#ga8fe41c203bb90cc8a7dc06426f6682f4">MR::distanceSq</a></div><div class="ttdeci">std::optional< T > distanceSq(const Plane3< T > &plane1, const Plane3< T > &plane2, T errorLimit=std::numeric_limits< T >::epsilon() *T(20))</div><div class="ttdef"><b>Definition</b> MRIntersection.h:90</div></div> |
686 | 687 | <div class="ttc" id="agroup__MathGroup_html_gac1420892e3e154a187396a8dd5e65291"><div class="ttname"><a href="group__MathGroup.html#gac1420892e3e154a187396a8dd5e65291">MR::toEigen</a></div><div class="ttdeci">Eigen::Matrix< T, 2, 1 > toEigen(const Vector2< T > &v)</div><div class="ttdef"><b>Definition</b> MRToFromEigen.h:28</div></div> |
687 | | -<div class="ttc" id="anamespaceMR_1_1ImGuiMath_html_a9b787db1b3551a333f5fae1addb214bd"><div class="ttname"><a href="namespaceMR_1_1ImGuiMath.html#a9b787db1b3551a333f5fae1addb214bd">MR::ImGuiMath::lengthSq</a></div><div class="ttdeci">constexpr auto lengthSq(A a)</div><div class="ttdef"><b>Definition</b> MRImGuiVectorOperators.h:131</div></div> |
688 | 688 | <div class="ttc" id="anamespaceMR_html"><div class="ttname"><a href="namespaceMR.html">MR</a></div></div> |
689 | 689 | <div class="ttc" id="anamespaceMR_html_a05195fdcf0d1d90b73a5d24b11150005a21c2e59531c8710156d34a3c30ac81d5"><div class="ttname"><a href="namespaceMR.html#a05195fdcf0d1d90b73a5d24b11150005a21c2e59531c8710156d34a3c30ac81d5">MR::Axis::Z</a></div><div class="ttdeci">@ Z</div></div> |
690 | 690 | <div class="ttc" id="anamespaceMR_html_a0ec93e9fcfd4b11654579d65e255bb7d"><div class="ttname"><a href="namespaceMR.html#a0ec93e9fcfd4b11654579d65e255bb7d">MR::ConeFitterType</a></div><div class="ttdeci">ConeFitterType</div><div class="ttdef"><b>Definition</b> MRConeApproximator.h:138</div></div> |
|
715 | 715 | <div class="ttc" id="astructMR_1_1Vector3_html"><div class="ttname"><a href="structMR_1_1Vector3.html">MR::Vector3</a></div><div class="ttdef"><b>Definition</b> MRMesh/MRVector3.h:19</div></div> |
716 | 716 | <div class="ttc" id="astructMR_1_1Vector3_html_a9b44af3c8a7c918cf88dac1811950e66"><div class="ttname"><a href="structMR_1_1Vector3.html#a9b44af3c8a7c918cf88dac1811950e66">MR::Vector3::length</a></div><div class="ttdeci">auto length() const</div><div class="ttdef"><b>Definition</b> MRMesh/MRVector3.h:47</div></div> |
717 | 717 | <div class="ttc" id="astructMR_1_1Vector3_html_ac61c07811df0f193e3462b3201ef1daf"><div class="ttname"><a href="structMR_1_1Vector3.html#ac61c07811df0f193e3462b3201ef1daf">MR::Vector3::normalized</a></div><div class="ttdeci">Vector3 normalized() const</div><div class="ttdef"><b>Definition</b> MRMesh/MRVector3.h:55</div></div> |
718 | | -<div class="ttc" id="astructMR_1_1Vector3_html_ac91a0462b62bab22f973bb517dc805ca"><div class="ttname"><a href="structMR_1_1Vector3.html#ac91a0462b62bab22f973bb517dc805ca">MR::Vector3::angle</a></div><div class="ttdeci">T angle(const Vector3< T > &a, const Vector3< T > &b)</div><div class="ttdef"><b>Definition</b> MRMesh/MRVector3.h:167</div></div> |
| 718 | +<div class="ttc" id="astructMR_1_1Vector3_html_ac91a0462b62bab22f973bb517dc805ca"><div class="ttname"><a href="structMR_1_1Vector3.html#ac91a0462b62bab22f973bb517dc805ca">MR::Vector3::angle</a></div><div class="ttdeci">T angle(const Vector3< T > &a, const Vector3< T > &b)</div><div class="ttdef"><b>Definition</b> MRMesh/MRVector3.h:181</div></div> |
719 | 719 | </div><!-- fragment --></div><!-- contents --> |
720 | 720 | </div><!-- doc-content --> |
721 | 721 | <!-- start footer part --> |
|
0 commit comments