angle_between method

angle_between(self, dir)

Calculate the inner angle between two direction Two direction can be non-normalized vectors

Returns

inner angle in radian


def angle_between(self, dir):
    ...
ParameterTypeDescription
diraspose.threed.utilities.Vector3The direction vector to compare with

angle_between(self, dir, up)

Calculate the inner angle between two direction Two direction can be non-normalized vectors

Returns

inner angle in radian


def angle_between(self, dir, up):
    ...
ParameterTypeDescription
diraspose.threed.utilities.Vector3The direction vector to compare with
upaspose.threed.utilities.Vector3The up vector of the two direction’s shared plane

See Also