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, // maxSegmentLengthunitOfMeasurement, // LinearUnitGeodeticCurveType.GEODESIC)
You can set up different types of curves: https://developers.arcgis.com/android/api-reference/reference/com/esri/arcgisruntime/geometry/GeodeticCurveType.html
Android Sample: https://github.com/Esri/arcgis-runtime-samples-android/tree/main/kotlin/geodesic-operations
Přihlášení členové mohou přispívat, sledovat aktualizace a další. Jste tu noví? Zaregistrujte si bezplatný účet.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.