Perform Densify operation using planar or geodesic line interpolation. Use the static methods GeometryEngine::densifyGeometry() and GeometryEngine::geodesicDensifyGeometry(), two of several methods in the GeometryEngine class that create a new geometry through a geometric calculation on one or more existing geometries. Draw a polygon and see a densified version of that polygon. The original polygon's vertices are shown in red, the planar-densified vertices are green, and the geodesic-densified vertices are blue.