NXOpen.UF.Vec2.Components

Vec2.Components()

Refer to UF_VEC2_components for documentation.

Signature: Components(vec1, vec2, vecComb, tolerance)

Parameters:
  • vec1 (list of float) – First vector of linear combination
  • vec2 (list of float) – Second vector of linear combination
  • vecComb (list of float) – Linear combination of vec1 and vec2
  • tolerance (float) – Tolerance value to use for checking whether vec1 and vec2 are parallel
Returns:

A Tuple

Return type:

A tuple consisting of (scale1,scale2)

scale1(float): Scale factor of vec1 in linear combination

scale2(float): Scale factor of vec2 in linear combination

License requirements: None