<?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 move a Polygon from one Point to another Point using it's center Point in Java Maps SDK Questions</title>
    <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-move-a-polygon-from-one-point-to-another/m-p/480142#M1466</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While I really appreciate that you were kind enough to share the code and thanks for that however, I just wanted to know if a polygon geometry could be moved or not but since you said that geometries are immutable that means i have to create a new one without keeping the same geometry. The problem here is that The semi axis lengths you have set are constant while it is variable in my case. Also my coded class method that is responsible for moving the ship does not have access to the radius (semi axis length) so i have to do something about it. There is another similar scenario where I'd need to implement it for many other vessels on the map without fetching their circle radius keeping this moving logic independent of the radius values for each of those vessels but I have to track those too. Thanks for your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 04 Nov 2020 11:19:16 GMT</pubDate>
    <dc:creator>FuzailSiddiqui</dc:creator>
    <dc:date>2020-11-04T11:19:16Z</dc:date>
    <item>
      <title>How to move a Polygon from one Point to another Point using it's center Point</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-move-a-polygon-from-one-point-to-another/m-p/480140#M1464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Esri community,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm working on a Java desktop application using ArcGIS Java runtime SDK v100.7.0. In my &lt;STRONG&gt;MapView GraphicsOverlay&lt;/STRONG&gt;, I've added a circular&amp;nbsp;&lt;STRONG&gt;Polygon&lt;/STRONG&gt; graphic using&amp;nbsp;&lt;STRONG&gt;ellipseGeodesic(&lt;A href="https://developers.arcgis.com/java/latest/api-reference/reference/com/esri/arcgisruntime/geometry/GeodesicEllipseParameters.html" style="color: #4a6782; text-decoration: none;" title="class in com.esri.arcgisruntime.geometry"&gt;GeodesicEllipseParameters&lt;/A&gt;&amp;nbsp;parameters)&lt;/STRONG&gt; method keeping it's center point as my ship/vessel's location&amp;nbsp;&lt;STRONG&gt;Point&lt;/STRONG&gt;. Now as my ship moves, I would like this &lt;STRONG&gt;Polygon&lt;/STRONG&gt; to move&amp;nbsp;with it as well. I want to know if there is any convenient way to move a &lt;STRONG&gt;Polygon Geometry&lt;/STRONG&gt; from one&amp;nbsp;&lt;STRONG&gt;Point&lt;/STRONG&gt; to&amp;nbsp;another by just specifying the next given&amp;nbsp;&lt;STRONG&gt;Point&lt;/STRONG&gt; as center to this&amp;nbsp;&lt;STRONG&gt;Polygon&lt;/STRONG&gt;. The vessel and the circular&amp;nbsp;&lt;STRONG&gt;Polygon&lt;/STRONG&gt; graphic are manipulated by another class in my code which doesn't have access to the circle's radius or such parameters which can be used to draft a new&amp;nbsp;&lt;STRONG&gt;Polygon&lt;/STRONG&gt; geometry so I'd want to manipulate and move the same object (using it's center &lt;STRONG&gt;Point&lt;/STRONG&gt; only) without replacing with a new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Nov 2020 08:32:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-move-a-polygon-from-one-point-to-another/m-p/480140#M1464</guid>
      <dc:creator>FuzailSiddiqui</dc:creator>
      <dc:date>2020-11-03T08:32:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to move a Polygon from one Point to another Point using it's center Point</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-move-a-polygon-from-one-point-to-another/m-p/480141#M1465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Geometries are immutable so you can't move them.&amp;nbsp; Instead you just create a new one and its very easy to apply a new geometry to an existing graphic and hence move it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've had a go at this using a point and a polygon which I've also created with ellipseGeodesic.&amp;nbsp; It looked like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="512413" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/512413_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My app had some class members to track my ship&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #cc7832;"&gt;private &lt;/SPAN&gt;GraphicsOverlay &lt;SPAN style="color: #9876aa;"&gt;dynamicGraphicsLayer&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;private double &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;xPos&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;yPos&lt;/SPAN&gt;=&lt;SPAN style="color: #6897bb;"&gt;0&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// current location of my ship
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;private &lt;/SPAN&gt;Graphic &lt;SPAN style="color: #9876aa;"&gt;shipGraphic&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// graphic for ship
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;private &lt;/SPAN&gt;Graphic &lt;SPAN style="color: #9876aa;"&gt;shipBufferGraphic&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;; &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// graphic for buffer around ship&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;A method to create my buffer / ellipse&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #cc7832;"&gt;public &lt;/SPAN&gt;Polygon &lt;SPAN style="color: #ffc66d;"&gt;generateBuffer&lt;/SPAN&gt;(Point shipPosition) {

  Polygon buffer = &lt;SPAN style="color: #cc7832;"&gt;null;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;GeodesicEllipseParameters parameters = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;GeodesicEllipseParameters()&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;parameters.setCenter(shipPosition)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;parameters.setSemiAxis1Length(&lt;SPAN style="color: #6897bb;"&gt;500&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;parameters.setSemiAxis2Length(&lt;SPAN style="color: #6897bb;"&gt;500&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;parameters.setMaxSegmentLength(&lt;SPAN style="color: #6897bb;"&gt;5&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;buffer = (Polygon) GeometryEngine.&lt;SPAN&gt;ellipseGeodesic&lt;/SPAN&gt;(parameters)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  return &lt;/SPAN&gt;buffer&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;The initial position was drawn like this:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #808080;"&gt;// create a dynamic graphics layer
&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;dynamicGraphicsLayer &lt;/SPAN&gt;= 
&lt;SPAN style="color: #cc7832;"&gt;  new &lt;/SPAN&gt;GraphicsOverlay(GraphicsOverlay.RenderingMode.&lt;SPAN style="color: #9876aa;"&gt;DYNAMIC&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;mapView&lt;/SPAN&gt;.getGraphicsOverlays().add(&lt;SPAN style="color: #9876aa;"&gt;dynamicGraphicsLayer&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// symbols
&lt;/SPAN&gt;SimpleLineSymbol bufferSymbol = 
&lt;SPAN style="color: #cc7832;"&gt;  new &lt;/SPAN&gt;SimpleLineSymbol(SimpleLineSymbol.Style.&lt;SPAN style="color: #9876aa;"&gt;SOLID&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;0xFF00FF00&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;3&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;SimpleMarkerSymbol shipSymbol = 
&lt;SPAN style="color: #cc7832;"&gt;  new &lt;/SPAN&gt;SimpleMarkerSymbol(SimpleMarkerSymbol.Style.&lt;SPAN style="color: #9876aa;"&gt;CIRCLE&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;0xFFFF0000&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #6897bb;"&gt;10&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// geometries
&lt;/SPAN&gt;Point shipPosition = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Point(&lt;SPAN style="color: #9876aa;"&gt;xPos&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;,&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;yPos&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;SpatialReferences.&lt;SPAN&gt;getWebMercator&lt;/SPAN&gt;())&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;Polygon shipBuffer = generateBuffer(shipPosition)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// initial graphics showing ship and buffer
&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;shipGraphic &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Graphic(shipPosition&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;shipSymbol)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;shipBufferGraphic &lt;/SPAN&gt;= &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Graphic(shipBuffer&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;bufferSymbol)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// adding graphics to graphics layer
&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;dynamicGraphicsLayer&lt;/SPAN&gt;.getGraphics().add(&lt;SPAN style="color: #9876aa;"&gt;shipGraphic&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;dynamicGraphicsLayer&lt;/SPAN&gt;.getGraphics().add(&lt;SPAN style="color: #9876aa;"&gt;shipBufferGraphic&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Then I had a button on my app to move the position of the ship slightly&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;Button addGraphics = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Button(&lt;SPAN style="color: #6a8759;"&gt;"move ship"&lt;/SPAN&gt;)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;addGraphics.setOnAction(event -&amp;gt; {
  &lt;SPAN style="color: #808080;"&gt;// move the ship
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;xPos &lt;/SPAN&gt;= &lt;SPAN style="color: #9876aa;"&gt;xPos &lt;/SPAN&gt;+ &lt;SPAN style="color: #6897bb;"&gt;50&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;yPos &lt;/SPAN&gt;= &lt;SPAN style="color: #9876aa;"&gt;yPos &lt;/SPAN&gt;+ &lt;SPAN style="color: #6897bb;"&gt;50&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;Point newLocation = &lt;SPAN style="color: #cc7832;"&gt;new &lt;/SPAN&gt;Point(&lt;SPAN style="color: #9876aa;"&gt;xPos&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;yPos&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;, &lt;/SPAN&gt;SpatialReferences.&lt;SPAN&gt;getWebMercator&lt;/SPAN&gt;())&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;// update the graphics location
&lt;/SPAN&gt;&lt;SPAN style="color: #808080;"&gt;  &lt;/SPAN&gt;moveShip(newLocation)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;})&lt;SPAN style="color: #cc7832;"&gt;;&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;Which in turn calls this simple code to apply the new geometries to your existing graphics&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color: #cc7832;"&gt;public void &lt;/SPAN&gt;&lt;SPAN style="color: #ffc66d;"&gt;moveShip&lt;/SPAN&gt;(Point newLocation) {

  &lt;SPAN style="color: #9876aa;"&gt;shipGraphic&lt;/SPAN&gt;.setGeometry(newLocation)&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;  &lt;/SPAN&gt;&lt;SPAN style="color: #9876aa;"&gt;shipBufferGraphic&lt;/SPAN&gt;.setGeometry(generateBuffer(newLocation))&lt;SPAN style="color: #cc7832;"&gt;;
&lt;/SPAN&gt;&lt;SPAN style="color: #cc7832;"&gt;
&lt;/SPAN&gt;}&lt;/PRE&gt;&lt;P&gt;This is a very common workflow and even if you use it for updating thousands of graphics it works well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does this help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 21:11:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-move-a-polygon-from-one-point-to-another/m-p/480141#M1465</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2021-12-11T21:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to move a Polygon from one Point to another Point using it's center Point</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-move-a-polygon-from-one-point-to-another/m-p/480142#M1466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;While I really appreciate that you were kind enough to share the code and thanks for that however, I just wanted to know if a polygon geometry could be moved or not but since you said that geometries are immutable that means i have to create a new one without keeping the same geometry. The problem here is that The semi axis lengths you have set are constant while it is variable in my case. Also my coded class method that is responsible for moving the ship does not have access to the radius (semi axis length) so i have to do something about it. There is another similar scenario where I'd need to implement it for many other vessels on the map without fetching their circle radius keeping this moving logic independent of the radius values for each of those vessels but I have to track those too. Thanks for your response.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2020 11:19:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-move-a-polygon-from-one-point-to-another/m-p/480142#M1466</guid>
      <dc:creator>FuzailSiddiqui</dc:creator>
      <dc:date>2020-11-04T11:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to move a Polygon from one Point to another Point using it's center Point</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-move-a-polygon-from-one-point-to-another/m-p/480143#M1467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;There is no API for moving a polygon as they are immutable.&amp;nbsp; You have to create a new one which is the workflow I was showing in my code example.&amp;nbsp; Remember that Graphics can be updated with a new geometry, which is how you create an updating graphics view of your world.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;So if each ship you are tracking has a different radius, you need to store this somewhere.&amp;nbsp; Although in my example I've shown a graphic consisting of a geometry and a symbol, they can also have attributes which could be used to store your extra information.&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="background-color: #ffffff; border: 0px;"&gt;You could look into using the moveGeodesic methods to help you constrict a new geometry from an existing set of points from an old geometry&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/java/latest/api-reference/reference/com/esri/arcgisruntime/geometry/GeometryEngine.html#moveGeodetic(com.esri.arcgisruntime.geometry.Point,double,com.esri.arcgisruntime.geometry.LinearUnit,double,com.esri.arcgisruntime.geometry.AngularUnit,com.esri.arcgisruntime.geometry.GeodeticCurveType)" title="https://developers.arcgis.com/java/latest/api-reference/reference/com/esri/arcgisruntime/geometry/GeometryEngine.html#moveGeodetic(com.esri.arcgisruntime.geometry.Point,double,com.esri.arcgisruntime.geometry.LinearUnit,double,com.esri.arcgisruntime.geometry.AngularUnit,com.esri.arcgisruntime.geometry.GeodeticCurveType)"&gt;GeometryEngine (ArcGIS Runtime SDK for Java 100.9.0)&lt;/A&gt;&amp;nbsp;, but its probably easer to call your ellipseGeodesic method again.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 Nov 2020 14:51:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-move-a-polygon-from-one-point-to-another/m-p/480143#M1467</guid>
      <dc:creator>MarkBaird</dc:creator>
      <dc:date>2020-11-04T14:51:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to move a Polygon from one Point to another Point using it's center Point</title>
      <link>https://community.esri.com/t5/java-maps-sdk-questions/how-to-move-a-polygon-from-one-point-to-another/m-p/480144#M1468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, as you said the Geometry is immutable so we have to add a new Geometry and set it in the given Graphic. I came up with a solution for this and it matches with exactly what you suggested. When one of my class method creates the ship graphic and the circle graphic around it, at that point I put the radius value into the polygon graphic attribute so when my other class method gets this graphic object, I can simply extract the radius attribute from the polygon graphic and create a new polygon using ellipseGeodesic(..) method, which I then set&amp;nbsp;as that graphic's geometry. The main thing is that the Geometry cannot be moved as it's immutable. Your help is appreciated. Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2020 09:00:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/java-maps-sdk-questions/how-to-move-a-polygon-from-one-point-to-another/m-p/480144#M1468</guid>
      <dc:creator>FuzailSiddiqui</dc:creator>
      <dc:date>2020-11-05T09:00:04Z</dc:date>
    </item>
  </channel>
</rss>

