<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Length class &#8211; Matthew Petroff</title>
	<atom:link href="https://mpetroff.net/tag/length-class/feed/" rel="self" type="application/rss+xml" />
	<link>https://mpetroff.net</link>
	<description>mpetroff.net</description>
	<lastBuildDate>Wed, 26 Nov 2014 20:35:31 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>Length Class and Refactoring</title>
		<link>https://mpetroff.net/2013/06/length-class-and-refactoring/</link>
					<comments>https://mpetroff.net/2013/06/length-class-and-refactoring/#respond</comments>
		
		<dc:creator><![CDATA[Matthew Petroff]]></dc:creator>
		<pubDate>Sun, 30 Jun 2013 00:16:55 +0000</pubDate>
				<category><![CDATA[GSoC]]></category>
		<category><![CDATA[Google Summer of Code]]></category>
		<category><![CDATA[Inkscape]]></category>
		<category><![CDATA[Length class]]></category>
		<category><![CDATA[units]]></category>
		<guid isPermaLink="false">http://www.mpetroff.net/?p=1013</guid>

					<description><![CDATA[Since my last update, I have implemented a Length class. This allows one to store a length with its unit as well as to perform unit conversions. These conversions include functions similar to those found in helper/units.cpp where a length, &#8230; <a href="https://mpetroff.net/2013/06/length-class-and-refactoring/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
										<content:encoded><![CDATA[<p><span class="dropcap">S</span>ince my last update, I have implemented a <code>Length</code> class. This allows one to store a length with its unit as well as to perform unit conversions. These conversions include functions similar to those found in <code>helper/units.cpp</code> where a length, a &#8220;from&#8221; unit, and a &#8220;to&#8221; unit are specified as well as additional functions that allow conversions of the form <code>length.value("to_unit")</code>, where length is a variable of type <code>Length</code> and <code>to_unit</code> is the unit that one wants the value of the length in.</p>
<p>Over the past few days, I have been working on transitioning over from conversions using <code>SPUnit</code> and the conversion functions in <code>helper/units.cpp</code> to conversions using the new <code>Length</code> class. While I originally planned on working incrementally by converting one file at a time, the code is more interconnected than I originally believed, turning the porting of one file at a time to the porting of quite a few more at a time.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://mpetroff.net/2013/06/length-class-and-refactoring/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/?utm_source=w3tc&utm_medium=footer_comment&utm_campaign=free_plugin

Page Caching using Disk: Enhanced 
Content Delivery Network via Amazon Web Services: CloudFront: cdn0.mpetroff.net
Minified using Disk

Served from: mpetroff.net @ 2026-03-31 01:37:25 by W3 Total Cache
-->