<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Conversion from radian to degree does not work]]></title><description><![CDATA[<pre><code>SBQuantity::radian radianValue(1.5);
SBQuantity::degree degreeValue = radianValue;
double val = degreeValue.getValue();
</code></pre>
<p dir="auto">I've got val equal to 1.5 !!!<br />
Perhaps it is a bug ?</p>
]]></description><link>https://forum.samson-connect.net/topic/43/conversion-from-radian-to-degree-does-not-work</link><generator>RSS for Node</generator><lastBuildDate>Thu, 14 May 2026 07:52:05 GMT</lastBuildDate><atom:link href="https://forum.samson-connect.net/topic/43.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 15 Apr 2018 15:16:07 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Conversion from radian to degree does not work on Thu, 19 Apr 2018 06:30:46 GMT]]></title><description><![CDATA[<p dir="auto">Thanks.<br />
It helps.</p>
<pre><code>SBQuantity::radian radianValue(1.5);
SBQuantity::degree degreeValue = radianValue * SBConstant::RadToDeg;
</code></pre>
]]></description><link>https://forum.samson-connect.net/post/148</link><guid isPermaLink="true">https://forum.samson-connect.net/post/148</guid><dc:creator><![CDATA[Khoa]]></dc:creator><pubDate>Thu, 19 Apr 2018 06:30:46 GMT</pubDate></item><item><title><![CDATA[Reply to Conversion from radian to degree does not work on Mon, 16 Apr 2018 18:46:22 GMT]]></title><description><![CDATA[<p dir="auto">Note that there are two ratios provided with the SDK: <code>SBConstant::DegToRag</code> and <code>SBConstant::RadToDeg</code>.</p>
]]></description><link>https://forum.samson-connect.net/post/138</link><guid isPermaLink="true">https://forum.samson-connect.net/post/138</guid><dc:creator><![CDATA[Stephane]]></dc:creator><pubDate>Mon, 16 Apr 2018 18:46:22 GMT</pubDate></item><item><title><![CDATA[Reply to Conversion from radian to degree does not work on Mon, 16 Apr 2018 17:02:34 GMT]]></title><description><![CDATA[<p dir="auto">Actually, SBQuantity::radian, SBQuantity::degree, and SBQuantity::steradian are internally the same - they are SBQuantity::dimensionless. Therefore, there is no possibility to do a conversion like that, you need to convert radians into degrees yourself.</p>
]]></description><link>https://forum.samson-connect.net/post/137</link><guid isPermaLink="true">https://forum.samson-connect.net/post/137</guid><dc:creator><![CDATA[DmitriyMarin]]></dc:creator><pubDate>Mon, 16 Apr 2018 17:02:34 GMT</pubDate></item></channel></rss>