DotProduct Method


UV Dot Product Method

The dot product of this 2-D vector and the specified 2-D vector.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double DotProduct(
	UV source
)

Parameters

source UV
The vector to multiply with this vector.

Return Value

Double
The real number equal to the dot product.
Exceptions
Exception Condition
ArgumentNullException Thrown when source is .
Remarks
The dot product is the sum of the respective coordinates of the two vectors: Pu * Ru + Pv * Rv.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →