<?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: Create a 3D Polyline in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687852#M8682</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This property is used just for read not  write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Envoyé de mon iPhone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Le 4 août 2017 à 18:06, Nagma Yasmin &amp;lt;geonet@esri.com&amp;gt; a écrit :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GeoNet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: Create a 3D Polyline&lt;/P&gt;&lt;P&gt;reply from Nagma Yasmin in ArcGIS Runtime SDK for .NET - View the full discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Manel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may use Polyline.HasZ property to know whether that geometry has the z value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polyline Properties &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply to this message by replying to this email, or go to the message on GeoNet&lt;/P&gt;&lt;P&gt;Start a new discussion in ArcGIS Runtime SDK for .NET by email or at GeoNet&lt;/P&gt;&lt;P&gt;Following Re: Create a 3D Polyline in these streams: Inbox&lt;/P&gt;&lt;P&gt;Following Nagma Yasmin in these streams: Inbox&lt;/P&gt;&lt;P&gt;This email was sent by GeoNet because you are a registered user.&lt;/P&gt;&lt;P&gt;You may unsubscribe instantly from GeoNet, or adjust email frequency in your email preferences&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Aug 2017 19:07:51 GMT</pubDate>
    <dc:creator>ManelKEDDAR</dc:creator>
    <dc:date>2017-08-04T19:07:51Z</dc:date>
    <item>
      <title>Create a 3D Polyline</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687850#M8680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Helloe , i'm trying to create a 3D polyline , i used the following code&lt;/P&gt;&lt;P&gt;public static Polyline CreatePolyLine3D(MapPoint pointDepart , MapPoint pointArrive)&lt;BR /&gt; {&lt;BR /&gt; var stops = new MapPoint[] { pointDepart, pointArrive };&lt;BR /&gt; //Create a new Polyline&lt;/P&gt;&lt;P&gt;var mypolyLine = new Polyline(stops ,SpatialReferences.Wgs84);&lt;BR /&gt; return mypolyLine;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;H5&gt;i'm looking for any interface or method that can help me to say if the geometry have a Z value or not for example in arcObject there's the interface IZAware that identifies geometries that can have persistent Z values attached to their vertices&amp;nbsp;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 11.52px;"&gt;.&amp;nbsp; IPolyline polyline = new PolylineClass();&lt;BR /&gt; (polyline as IZAware).ZAware = true;&lt;/SPAN&gt;&lt;/H5&gt;&lt;H5&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 11.52px;"&gt;how can i do that with arcGis run time v 100.1&amp;nbsp;&lt;/SPAN&gt;&lt;/H5&gt;&lt;H5&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 11.52px;"&gt;thanks in advance&lt;/SPAN&gt;&lt;/H5&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff; font-size: 11.52px;"&gt;cheers&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 16:00:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687850#M8680</guid>
      <dc:creator>ManelKEDDAR</dc:creator>
      <dc:date>2017-08-04T16:00:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create a 3D Polyline</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687851#M8681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may use Polyline.HasZ property to know whether that geometry has the z value.&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/Properties_T_Esri_ArcGISRuntime_Geometry_Polyline.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference//html/Properties_T_Esri_ArcGISRuntime_Geometry_Polyline.htm"&gt;Polyline Properties&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 16:05:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687851#M8681</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-08-04T16:05:39Z</dc:date>
    </item>
    <item>
      <title>Re: Create a 3D Polyline</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687852#M8682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This property is used just for read not  write&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Envoyé de mon iPhone&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE level="1"&gt;&lt;P&gt;Le 4 août 2017 à 18:06, Nagma Yasmin &amp;lt;geonet@esri.com&amp;gt; a écrit :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;GeoNet&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Re: Create a 3D Polyline&lt;/P&gt;&lt;P&gt;reply from Nagma Yasmin in ArcGIS Runtime SDK for .NET - View the full discussion&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Manel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may use Polyline.HasZ property to know whether that geometry has the z value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Polyline Properties &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reply to this message by replying to this email, or go to the message on GeoNet&lt;/P&gt;&lt;P&gt;Start a new discussion in ArcGIS Runtime SDK for .NET by email or at GeoNet&lt;/P&gt;&lt;P&gt;Following Re: Create a 3D Polyline in these streams: Inbox&lt;/P&gt;&lt;P&gt;Following Nagma Yasmin in these streams: Inbox&lt;/P&gt;&lt;P&gt;This email was sent by GeoNet because you are a registered user.&lt;/P&gt;&lt;P&gt;You may unsubscribe instantly from GeoNet, or adjust email frequency in your email preferences&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 19:07:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687852#M8682</guid>
      <dc:creator>ManelKEDDAR</dc:creator>
      <dc:date>2017-08-04T19:07:51Z</dc:date>
    </item>
    <item>
      <title>Re: Create a 3D Polyline</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687853#M8683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use the &lt;STRONG&gt;PolylineBuilder.AddPoint(&lt;A class="" href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/M_Esri_ArcGISRuntime_Geometry_MultipartBuilder_1_AddPoint_2.htm" style="color: #2989c5; text-decoration: none;" title="https://developers.arcgis.com/net/latest/wpf/api-reference//html/M_Esri_ArcGISRuntime_Geometry_MultipartBuilder_1_AddPoint_2.htm"&gt;Double, Double, Double&lt;/A&gt;)&lt;/STRONG&gt; method to add x,y and z value&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/T_Esri_ArcGISRuntime_Geometry_PolylineBuilder.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference//html/T_Esri_ArcGISRuntime_Geometry_PolylineBuilder.htm"&gt;PolylineBuilder Class&lt;/A&gt;&amp;nbsp;--&amp;gt;&amp;nbsp;&lt;A href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/M_Esri_ArcGISRuntime_Geometry_MultipartBuilder_1_AddPoint_2.htm" style="color: #03697a; text-decoration: none;"&gt;AddPoint(Double, Double, Double)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/M_Esri_ArcGISRuntime_Geometry_MultipartBuilder_1_AddPoint_2.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference//html/M_Esri_ArcGISRuntime_Geometry_MultipartBuilder_1_AddPoint_2.htm"&gt;MultipartBuilder(T).AddPoint Method (Double, Double, Double)&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Nagma&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Aug 2017 20:00:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687853#M8683</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2017-08-04T20:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Create a 3D Polyline</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687854#M8684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Yasmin ,&lt;/P&gt;&lt;P&gt;Thanks for your answer , i don't know if what i'm doing is correct actually i created a 3D MapPoints ans with this two 3D MapPoint i'll create a 3D PolyLine , i don't know if this will work , nowi &amp;nbsp;want to know how i can do to display this 3D PolyLine on a Scneview here's my code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MapPoint pointDepart = new MapPoint(-79.337936, 8.638903, 6.796, SpatialReferences.Wgs84); //start&lt;BR /&gt; MapPoint pointArrivee = new MapPoint(-80.035568, 9.432302, 5.8769, SpatialReferences.Wgs84);//arrival&lt;BR /&gt; var poly = CreatePolyLine3D(pointDepart, pointArrivee);&lt;/P&gt;&lt;P&gt;SceneView.Scene = new Scene();&lt;/P&gt;&lt;P&gt;//Create a new Graphic with the composite symbol , add it to the graphics overlay&lt;BR /&gt; GraphicsOverlay graphicsOverlay = new GraphicsOverlay();&lt;BR /&gt; graphicsOverlay.SceneProperties.SurfacePlacement = SurfacePlacement.Relative;&lt;BR /&gt; SceneView.GraphicsOverlays.Add(graphicsOverlay);&lt;BR /&gt; Camera newCamera = new Camera(pointDepart, 1500, 0, 80, 0);&lt;BR /&gt; SceneView.SetViewpointCameraAsync(newCamera);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Help&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 07 Aug 2017 10:13:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687854#M8684</guid>
      <dc:creator>ManelKEDDAR</dc:creator>
      <dc:date>2017-08-07T10:13:32Z</dc:date>
    </item>
    <item>
      <title>Re: Create a 3D Polyline</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687855#M8685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Hello Yasmin ,&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Thanks for your answer , i don't know if what i'm doing is correct actually i created a 3D MapPoints ans with this two 3D MapPoint i'll create a 3D PolyLine , i don't know if this will work , nowi &amp;nbsp;want to know how i can do to display this 3D PolyLine on a Scneview here's my code :&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;MapPoint pointDepart = new MapPoint(-79.337936, 8.638903, 6.796, SpatialReferences.Wgs84); //start&lt;BR /&gt;MapPoint pointArrivee = new MapPoint(-80.035568, 9.432302, 5.8769, SpatialReferences.Wgs84);//arrival&lt;BR /&gt;var poly = CreatePolyLine3D(pointDepart, pointArrivee);&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;SceneView.Scene = new Scene();&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;//Create a new Graphic with the composite symbol , add it to the graphics overlay&lt;BR /&gt;GraphicsOverlay graphicsOverlay = new GraphicsOverlay();&lt;BR /&gt;graphicsOverlay.SceneProperties.SurfacePlacement = SurfacePlacement.Relative;&lt;BR /&gt;SceneView.GraphicsOverlays.Add(graphicsOverlay);&lt;BR /&gt;Camera newCamera = new Camera(pointDepart, 1500, 0, 80, 0);&lt;BR /&gt;SceneView.SetViewpointCameraAsync(newCamera);&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Please Help&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px; font-size: 14px;"&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Aug 2017 13:20:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/create-a-3d-polyline/m-p/687855#M8685</guid>
      <dc:creator>ManelKEDDAR</dc:creator>
      <dc:date>2017-08-08T13:20:01Z</dc:date>
    </item>
  </channel>
</rss>

