I want to measure geodesic length and area in sceneView....
Pls provide with sample code specially for sceneView..
@MarkBaird
@DaveWhitla
Have a look at https://developers.arcgis.com/java/api-reference/reference/com/esri/arcgisruntime/geometry/GeometryEngine.html#lengthGeodetic(com.esri.arcgisruntime.geometry.Geometry,com.esri.arcgisruntime.geometry.LinearUnit,com.esri.arcgisruntime.geometry.GeodeticCurveType)
And https://developers.arcgis.com/java/api-reference/reference/com/esri/arcgisruntime/geometry/GeometryEngine.html#areaGeodetic(com.esri.arcgisruntime.geometry.Geometry,com.esri.arcgisruntime.geometry.AreaUnit,com.esri.arcgisruntime.geometry.GeodeticCurveType)
This should answer your question.
For the line length there is a sample which shows the use of the method.
https://github.com/Esri/arcgis-runtime-samples-java/tree/main/geometry/geodesic-operations
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.