NXOpen.UF.Vec2.Distance

Vec2.Distance()

Refer to UF_VEC2_distance for documentation.

Signature: Distance(pnt1, pnt2)

Parameters:
  • pnt1 (list of float) – Point 1
  • pnt2 (list of float) – Point 2
Returns:

The distance between pnt1 and pnt2 (distance = ||pnt1 - pnt2||)

Return type:

float

License requirements: None