AnsweredAssumed Answered

How to retrieve Circle from SketchViewModel

Question asked by rafael.mfreitas on Jun 1, 2020
Latest reply on Jun 2, 2020 by jgrayson-esristaff


I am using SketchViewModel to create geometries into my Scene View. It seems to be working fine, however I ´ve noticed that when using the tool to draw a circle the graphic on the "create" event is a Polygon. It consists of one ring with many points on it.


I needed to get the radius and center point of this created geometry. I can get the center of it, but since it´s a polygon i couldn´t find the radius of it.


There is any way of converting this polygon to a circle? Or to retrieve a Circle geometry when using 'circle' as drawing tool? Or should I just use another strategy for drawing circles?