DotProductNode

Introduced

7.0

UI Location

• Math > Vector

Description

Outputs a new scalar value made from the dot product of the two input values.

The result of the dot product is the product of the length of the projection of a first vector on a second vector and the length of the second vector.

Two vectors are perpendicular if and only if the dot product of these two vectors is 0.

Port Description

Inputs

Group ID | Instance s | Port Name | Connection Info | Description
0 | 1 | first | • Type: siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4 • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The first operand of the dot product.
second | • Type: siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4 • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The second operand of the dot product.

Outputs

Port Name | Connection Info | Description
result | • Type: siICENodeDataFloat • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The new scalar value.

Restrictions

• These types must match: first, second

• These structures must match: first, second, result

• These contexts must match: first, second, result

See Also

AreParallelNode | ArePerpendicularNode | CrossProductNode | GetAngleBetweenNode
GetClosestPointToLineNode | GetClosestPointToLineSegmentNode | GetDistanceBetweenNode | LengthNode
MultiplyByScalarNode | MultiplyVectorByMatrixNode | NormalizeNode | ProjectVectorNode
RotateVectorNode | SquaredLengthNode | 2DVectorNode | 3DVectorNode
4DVectorNode |  |  |

Autodesk Softimage v7.5