<?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: How to check if a polyline is partially inside an extent ? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-check-if-a-polyline-is-partially-inside-an/m-p/1051700#M72756</link>
    <description>&lt;P&gt;You want &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html#intersects" target="_self"&gt;intersects&lt;/A&gt;, which will return true if any part of the line is within the extent.&lt;/P&gt;&lt;P&gt;Edit: if you want to check for being &lt;EM&gt;partially&lt;/EM&gt; within only, you could check that intersects returns &lt;STRONG&gt;true&lt;/STRONG&gt; and contains returns &lt;STRONG&gt;false&lt;/STRONG&gt;.&lt;/P&gt;</description>
    <pubDate>Tue, 27 Apr 2021 13:18:58 GMT</pubDate>
    <dc:creator>jcarlson</dc:creator>
    <dc:date>2021-04-27T13:18:58Z</dc:date>
    <item>
      <title>How to check if a polyline is partially inside an extent ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-check-if-a-polyline-is-partially-inside-an/m-p/1051694#M72754</link>
      <description>&lt;P&gt;Is there a way to check if a polyline/line is partially inside an extent ?&lt;/P&gt;&lt;P&gt;I tried extent.contains,&amp;nbsp;&amp;nbsp;but it only returns true if the whole line is inside the extent,even if little part of it lies outside the extent then it return false. Is there a way to solve this ?&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 13:08:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-check-if-a-polyline-is-partially-inside-an/m-p/1051694#M72754</guid>
      <dc:creator>SelectivelySocial</dc:creator>
      <dc:date>2021-04-27T13:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a polyline is partially inside an extent ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-check-if-a-polyline-is-partially-inside-an/m-p/1051700#M72756</link>
      <description>&lt;P&gt;You want &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-geometry-Extent.html#intersects" target="_self"&gt;intersects&lt;/A&gt;, which will return true if any part of the line is within the extent.&lt;/P&gt;&lt;P&gt;Edit: if you want to check for being &lt;EM&gt;partially&lt;/EM&gt; within only, you could check that intersects returns &lt;STRONG&gt;true&lt;/STRONG&gt; and contains returns &lt;STRONG&gt;false&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 13:18:58 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-check-if-a-polyline-is-partially-inside-an/m-p/1051700#M72756</guid>
      <dc:creator>jcarlson</dc:creator>
      <dc:date>2021-04-27T13:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a polyline is partially inside an extent ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-check-if-a-polyline-is-partially-inside-an/m-p/1051708#M72757</link>
      <description>&lt;P&gt;I'd probably look at if extent.disjoint True/False which may be faster than an intersection (just a guess though).&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 13:38:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-check-if-a-polyline-is-partially-inside-an/m-p/1051708#M72757</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2021-04-27T13:38:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a polyline is partially inside an extent ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-check-if-a-polyline-is-partially-inside-an/m-p/1051719#M72759</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/363906"&gt;@jcarlson&lt;/a&gt;&amp;nbsp;Thanks !!&lt;/P&gt;&lt;P&gt;I completely missed this method in documentation, feel really stupid.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 13:51:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-check-if-a-polyline-is-partially-inside-an/m-p/1051719#M72759</guid>
      <dc:creator>SelectivelySocial</dc:creator>
      <dc:date>2021-04-27T13:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to check if a polyline is partially inside an extent ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-check-if-a-polyline-is-partially-inside-an/m-p/1051734#M72760</link>
      <description>&lt;P&gt;Though the data is not much, I'll still look into this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Apr 2021 14:12:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/how-to-check-if-a-polyline-is-partially-inside-an/m-p/1051734#M72760</guid>
      <dc:creator>SelectivelySocial</dc:creator>
      <dc:date>2021-04-27T14:12:26Z</dc:date>
    </item>
  </channel>
</rss>

