Bitbybit Docs
    Preparing search index...

    Class AlignNormAndAxisDto<T> (Inputs.OCCT)

    A shape and two full frames for transforms.alignNormAndAxis: the point, normal and axis the shape is taken from, and the point, normal and axis it lands on.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    shape: T

    The shape to move.

    undefined
    
    fromOrigin: Point3

    The point on the shape that is carried onto toOrigin.

    [0, 0, 0]
    
    fromNorm: Vector3

    The normal direction at the shape's frame, carried onto toNorm.

    [1, 0, 0]
    
    fromAx: Vector3

    An axis direction in the plane of the normal at the shape's frame, carried onto toAx; it fixes the spin about the normal.

    [0, 0, 1]
    
    toOrigin: Point3

    The point fromOrigin lands on.

    [0, 1, 0]
    
    toNorm: Vector3

    The direction fromNorm lands on.

    [0, 1, 0]
    
    toAx: Vector3

    The direction fromAx lands on.

    [0, 0, 1]