<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>Python on fotino.me</title>
    <link>https://fotino.me/tags/python/</link>
    <description>Recent content in Python on fotino.me</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Wed, 23 Dec 2015 17:10:00 +0000</lastBuildDate>
    <atom:link href="https://fotino.me/tags/python/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Calculating Centroids of Non-Intersecting Polygons</title>
      <link>https://fotino.me/calculating-centroids/</link>
      <pubDate>Wed, 23 Dec 2015 17:10:00 +0000</pubDate>
      <guid>https://fotino.me/calculating-centroids/</guid>
      <description>&lt;h2 id=&#34;what-is-a-centroid&#34;&gt;What Is a Centroid?&lt;/h2&gt;
&lt;p&gt;The &lt;a href=&#34;https://en.wikipedia.org/wiki/Centroid&#34;&gt;centroid&lt;/a&gt; is a geometric property of a shape, somewhat related to the center of mass. It is the point denoted &lt;strong&gt;(x̄, ȳ)&lt;/strong&gt; that is the average of all points in the shape. For example, in a rectangle the average of all points in the shape is dead center, as shown in &lt;em&gt;Figure 1&lt;/em&gt; below.&lt;/p&gt;
&lt;p&gt;&lt;img alt=&#34;Figure 1, the centroid of a rectangle&#34; loading=&#34;lazy&#34; src=&#34;https://fotino.me/content/images/2015/12/figure1-1.jpg&#34;&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;Figure 1. The average position of all points, or centroid, of a rectangle is precisely in the center of the shape.&lt;/em&gt;&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
