RVTDocs.com
Namespace: Autodesk.Revit.DB Class: XYZ

XYZ.DotProduct

Method
Description:
The dot product of this vector and the specified vector.
Remarks:
The dot product is the sum of the respective coordinates of the two vectors: Vx*Wx + Vy*Wy + Vz*Wz. Also known as scalar product or inner product.
Syntax
public double DotProduct(
	XYZ source
)
Parameters
Parameter Type Description
source XYZ The vector to multiply with this vector.
Return Value
Type Description
Double The real number equal to the dot product.
Exceptions
Exception Condition
ArgumentNullException Thrown when source is.