VDistance:
Filter:
Scintillator/Classes (extension) | Quarks > Scintillator > VGens > Mathematics > Vector Math

VDistance
ExtensionExtension

Computes the distance between two vectors

Description

VDistance computes the distance between two vectors by calculating the length of their difference, essentially VLength.pr(v - u).

Supported Rates: frame, shape, pixel

Class Methods

.fr

.sr

.pr

Make a VDistance VGen at the requested rate

Arguments:

u

First vector input for distance computation.

v

Second vector input for distance computation.

Returns:

The distance between u and v.

dimensions

inputoutput
1, 11
2, 21
3, 31
4, 41

Examples