rotate operation

Syntax

rotate(mode, coordSystem, xAngle, yAngle, zAngle)

Parameters

Description

The rotate operation rotates the scope around the scope origin. The angles can be defined in any coordinate system, and the rotation can either be absolute (= set the angles) or relative (= add the angles). This operation manipulates the scope orientation (scope.r attribute).

Related

Examples

Set scope orientation to world coordinate system angles


rotate a
        

Init --> extrude(10) t('0.2, 0, '0.3) s('0.5, '1, '0.5) rotate(abs, world, 0, 90, 0)

Using the absolute mode, the scope orientation can be set to an orientation relative to the world origin.

Copyright ©2008-2024 Esri R&D Center Zurich. All rights reserved.