Bitbybit Docs
    Preparing search index...

    Class RotateAroundCenterDto<T> (Inputs.OCCT)

    A shape, an angle, a center and an axis for transforms.rotateAroundCenter, which rotates about the axis through the center.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    Properties

    shape: T

    The shape to rotate; it stays as it is and a rotated copy comes back.

    undefined
    
    angle: number

    The rotation in degrees, following the right-hand rule about the axis.

    0
    
    center: Point3

    The point the rotation axis passes through.

    [0, 0, 0]
    
    axis: Vector3

    The direction of the rotation axis.

    [0, 0, 1]