CrossProduct Method


UV Cross Product Method

The cross 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 CrossProduct(
	UV source
)

Parameters

source UV
The vector to multiply with this vector.

Return Value

Double
The real number equal to the cross product.
Exceptions
Exception Condition
ArgumentNullException Thrown when source is .
Remarks
The cross product of the two vectors in 2-D space is equivalent to the area of the parallelogram they span.
See Also
ArchiLabs

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →