<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Smoothing Lines in a List of Points in ArcGIS Runtime SDK for WPF (Retired) Questions</title>
    <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/smoothing-lines-in-a-list-of-points/m-p/94790#M391</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can cast the polyline into IPolycurve, then call Smooth method to convert into a smooth curve that containing only Beizer curve segments.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 05 Dec 2011 16:39:36 GMT</pubDate>
    <dc:creator>WeifengHe</dc:creator>
    <dc:date>2011-12-05T16:39:36Z</dc:date>
    <item>
      <title>Smoothing Lines in a List of Points</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/smoothing-lines-in-a-list-of-points/m-p/94789#M390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;We are receiving a list of points, and adding them to a map layer as a polyline. Using ESRI tools, how might we convert the line segment into a smoothed line segment using Bezier Spline or an equivalent? &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-Greg Edwards&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The code looks something like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var pointCollection = new Geometry.PointCollection();&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//IN LOOP:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;pointCollection.Add(Transform.GeographicToWebMercator(new MapPoint(latitude, longitude)));&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;//AFTER LOOP IS COMPLETED:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;var polyline = new Polyline();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;polyline.Paths.Add(pointCollection);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;polylineList.Add(polyline);&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Dec 2011 14:22:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/smoothing-lines-in-a-list-of-points/m-p/94789#M390</guid>
      <dc:creator>GregEdwards</dc:creator>
      <dc:date>2011-12-02T14:22:23Z</dc:date>
    </item>
    <item>
      <title>Re: Smoothing Lines in a List of Points</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/smoothing-lines-in-a-list-of-points/m-p/94790#M391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can cast the polyline into IPolycurve, then call Smooth method to convert into a smooth curve that containing only Beizer curve segments.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Dec 2011 16:39:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/smoothing-lines-in-a-list-of-points/m-p/94790#M391</guid>
      <dc:creator>WeifengHe</dc:creator>
      <dc:date>2011-12-05T16:39:36Z</dc:date>
    </item>
    <item>
      <title>Re: Smoothing Lines in a List of Points</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/smoothing-lines-in-a-list-of-points/m-p/94791#M392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Which ArcGIS DLL and Namespace is the IPolycurve interface located? Thank you.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Dec 2011 21:42:19 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/smoothing-lines-in-a-list-of-points/m-p/94791#M392</guid>
      <dc:creator>GregEdwards</dc:creator>
      <dc:date>2011-12-16T21:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Smoothing Lines in a List of Points</title>
      <link>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/smoothing-lines-in-a-list-of-points/m-p/94792#M393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Part of ArcObjects&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/sdk/10.0/arcobjects_cpp/componenthelp/index.html#//000w000002m6000000"&gt;http://help.arcgis.com/en/sdk/10.0/arcobjects_cpp/componenthelp/index.html#//000w000002m6000000&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2012 16:01:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-runtime-sdk-for-wpf-retired-questions/smoothing-lines-in-a-list-of-points/m-p/94792#M393</guid>
      <dc:creator>BKuiper</dc:creator>
      <dc:date>2012-02-15T16:01:38Z</dc:date>
    </item>
  </channel>
</rss>

