Documentation > Mesh Ops Plugin BPLibrary > Fast Dist

Fast Dist

Distance squared from vector A to vector B. Use (distance*distance) for comparisons - i.e. (FastDist(A,B)<=(dist*dist)), or compare two FastDist results directly.

Inputs

A
Vector (by ref)

B
Vector (by ref)

Outputs

Return Value
Float

Distance squared from vector A to vector B. Use (distance*distance) for comparisons - i.e. (FastDist(A,B)<=(dist*dist)), or compare two FastDist results directly.