SquaredLengthNode

Introduced

7.0

UI Location

• Math > Vector

Description

Outputs the squared length of the input value. Calculating the squared length of a vector is faster than calculating its length. It is therefore wiser to use the squared length when possible, for example if you want to determine whether a vector is longer than another.

Port Description

Inputs

Group ID | Instance s | Port Name | Connection Info | Description
0 | 1 | vector | • Type: siICENodeDataLong or siICENodeDataFloat or siICENodeDataVector2 or siICENodeDataVector3 or siICENodeDataVector4 • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The value from which to get the squared length.

Outputs

Port Name | Connection Info | Description
result | • Type: siICENodeDataFloat • Structure: siICENodeStructureAny • Context: siICENodeContextAny | The squared length.

Restrictions

• These structures must match: vector, result

• These contexts must match: vector, result

See Also

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

Autodesk Softimage v7.5