Skip to content

XYZ.Multiply(Double, XYZ)

Public Operator

Multiplies the specified number and the specified vector.

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

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

Parameters

valueDouble

The value to multiply with the specified vector.

right XYZ

The vector to multiply with the value.

Return Value

XYZ
The multiplied vector.

Exceptions

Exception

Condition


ArgumentNullException

Thrown when right is ..


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.