Which method is used to smooth the corners of the polyline for flight paths in 3D scenes?
@LiChunfeng You can use a to GeometryEngine.densifyGeodetic densify the input geometry by creating additional vertices along the geometry, using a geodesic curve. API Reference
val pathGeometry = GeometryEngine.densifyGeodetic(
polyLine,
1.0, // maxSegmentLength
unitOfMeasurement, // LinearUnit
GeodeticCurveType.GEODESIC
)
You can set up different types of curves: https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/geometry/Geodet...
Android Sample: https://github.com/Esri/arcgis-runtime-samples-android/tree/main/kotlin/geodesic-operations