Bitbybit Docs
    Preparing search index...

    Class RotateShapesDto<T> (Inputs.OCCT)

    Shapes and one axis and angle each for transforms.rotateShapes; all the lists must have the same length.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshapes: T[]
      • Optionalaxes: Vector3[]
      • Optionalangles: number[]

      Returns RotateShapesDto<T>

    Properties

    shapes: T[]

    The shapes to rotate; they stay as they are and rotated copies come back in the same order.

    undefined
    
    axes: Vector3[]

    One rotation axis direction per shape, each through the origin.

    [[0, 0, 1]]
    
    angles: number[]

    One rotation angle per shape, in degrees.

    [0]