Skip to main content
Ctrl+K
Logo image

COMPAS Viewer

  • Introduction
  • Installation
  • Tutorials
    • File Structure
  • Examples
    • Basic Examples
    • Object Examples
    • Color Examples
    • Layout Examples
    • Dynamic Examples
    • Other Examples
  • API Reference
    • compas_viewer.viewer
    • compas_viewer.scene
    • compas_viewer.controller
    • compas_viewer.actions
    • compas_viewer.components
    • compas_viewer.configurations
    • compas_viewer.layout
    • compas_viewer.utilities
  • License
  • Acknowledgements
COMPAS.dev
  • API Reference
  • Tag
  • Tag.rotate

Tag.rotate

Tag.rotate(angle, axis=None, point=None)[source]

Rotate the geometry.

Parameters:
anglefloat

The angle of rotation in radians.

axiscompas.geometry.Vector, optional

The axis of rotation. Defaults to the z-axis.

pointcompas.geometry.Point, optional

The base point of the rotation axis. Defaults to the origin.

Returns:
None

See also

rotated
translate
scale
transform
On this page
  • Tag.rotate()

© Copyright COMPAS Association.

Created using Sphinx 6.2.1.

Built with the PyData Sphinx Theme 0.13.3.