CrossProduct Method


XYZ Cross Product Method

The cross product of this vector and the specified vector.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public XYZ CrossProduct(
	XYZ source
)

Parameters

source XYZ
The vector to multiply with this vector.

Return Value

XYZ
The vector equal to the cross product.
Exceptions
Exception Condition
ArgumentNullException Thrown when source is .
Remarks
The cross product is defined as the vector which is perpendicular to both vectors with a magnitude equal to the area of the parallelogram they span. Also known as vector product or outer product.
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 →