Bitbybit Docs
    Preparing search index...

    Class AlignDto<T> (Inputs.OCCT)

    A shape, a point and direction on it, and the point and direction to land on, for transforms.align.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      Returns AlignDto<T>

    Properties

    shape: T

    The shape to move.

    undefined
    
    fromOrigin: Point3

    The point on the shape that is carried onto toOrigin.

    [0, 0, 0]
    
    fromDirection: Vector3

    The direction at the shape's frame that is carried onto toDirection.

    [0, 0, 1]
    
    toOrigin: Point3

    The point fromOrigin lands on.

    [0, 1, 0]
    
    toDirection: Vector3

    The direction fromDirection lands on.

    [0, 1, 0]