<?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: Determining the direction and sides of line in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/determining-the-direction-and-sides-of-line/m-p/397258#M10277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Doc, for your feedback. I'm afraid, getting the direction as North, West etc is not sufficient, we need to get it as a vector and then determine which side of the line is left and which is right. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jolly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 27 May 2011 12:19:20 GMT</pubDate>
    <dc:creator>JollyJacob</dc:creator>
    <dc:date>2011-05-27T12:19:20Z</dc:date>
    <item>
      <title>Determining the direction and sides of line</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/determining-the-direction-and-sides-of-line/m-p/397256#M10275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a formula that can be used to determine the direction of a polyline if the user defines the start and end point. We don't want to use the direction of the polyline feature. After determining the direction, points have to be added along the left-side and right-side of the line in the direction that has been computed. So the sides have to be determined based on the direction. Tried a lot of searching but to no avail. Any help will be greatly appreciated. Application is in Silverlight on ArGIS 10.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jolly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 12:12:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/determining-the-direction-and-sides-of-line/m-p/397256#M10275</guid>
      <dc:creator>JollyJacob</dc:creator>
      <dc:date>2011-05-26T12:12:27Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the direction and sides of line</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/determining-the-direction-and-sides-of-line/m-p/397257#M10276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;Is there a formula that can be used to determine the direction of a polyline if the user defines the start and end point. We don't want to use the direction of the polyline feature. After determining the direction, points have to be added along the left-side and right-side of the line in the direction that has been computed. So the sides have to be determined based on the direction. Tried a lot of searching but to no avail. Any help will be greatly appreciated. Application is in Silverlight on ArGIS 10.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Jolly&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know how to do that in ArcObjects using the ILine interface which has Angle member which will return an angle. Based on the angle you can determine the direction . For example if the angle is on between say 45 to 135 its is North... something like that&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So you can write a GP task or there might be a way to do that client side also using the basic math look in Wikipedia or google it...&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 14:50:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/determining-the-direction-and-sides-of-line/m-p/397257#M10276</guid>
      <dc:creator>IgressT</dc:creator>
      <dc:date>2011-05-26T14:50:31Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the direction and sides of line</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/determining-the-direction-and-sides-of-line/m-p/397258#M10277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks Doc, for your feedback. I'm afraid, getting the direction as North, West etc is not sufficient, we need to get it as a vector and then determine which side of the line is left and which is right. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Jolly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 12:19:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/determining-the-direction-and-sides-of-line/m-p/397258#M10277</guid>
      <dc:creator>JollyJacob</dc:creator>
      <dc:date>2011-05-27T12:19:20Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the direction and sides of line</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/determining-the-direction-and-sides-of-line/m-p/397259#M10278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can use Math.Sin/Cos/Arc* methods for this. Do an online search for trigonometric functions and you should be able to find the math needed.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 May 2011 15:43:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/determining-the-direction-and-sides-of-line/m-p/397259#M10278</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2011-05-27T15:43:06Z</dc:date>
    </item>
    <item>
      <title>Re: Determining the direction and sides of line</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/determining-the-direction-and-sides-of-line/m-p/397260#M10279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks, Morten. Much appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 May 2011 05:12:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/determining-the-direction-and-sides-of-line/m-p/397260#M10279</guid>
      <dc:creator>JollyJacob</dc:creator>
      <dc:date>2011-05-30T05:12:39Z</dc:date>
    </item>
  </channel>
</rss>

