Rotate a polyline

Hi,

Is it possible to rotate a polyline, for example by using a headingPitchRollQuaternion?

Thank you,

Fidel

Hi Fidel,

Like polygons, polylines are specified in world space coordinates, and ignore rotation. However, you can compute rotated point positions and update the polyline. Here’s a simple example with a callback property: https://github.com/AnalyticalGraphicsInc/cesium/pull/5458/commits/360e6a25d3254c897f5460d4068fbec8d4639fc0

Hope that helps,

  • Rachel