Share

XYZ.Multiply(Double, XYZ) Operator

Multiplies the specified number and the specified vector.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)

Syntax

C#

public static XYZ operator *(
	double value,
	XYZ right
)

Parameters

value  Double
The value to multiply with the specified vector.
right  XYZ
The vector to multiply with the value.

Return Value

XYZ
The multiplied vector.

Exceptions

ExceptionCondition
ArgumentNullException Thrown when right is nullptr.
ArgumentException Thrown when the specified value is an infinite number.

Remarks

The multiplied vector is obtained by multiplying each coordinate of the specified vector by the specified value.

See Also

Reference

Was this information helpful?