Contents

dotProduct(of:vector:)

Caclulates the dot product of two vectors.

Declaration

class func dotProduct(of v1: VNVector, vector v2: VNVector) -> Double

Parameters

  • v1:

    The first vector.

  • v2:

    The second vector.

Return Value

The dot product value.

See Also

Inspecting a Vector