Multiplies the specified number and the specified vector.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 19.0.0.0 (19.0.0.405)
Syntax
C# |
---|
public static XYZ operator *( XYZ left, double value ) |
Visual Basic |
---|
Public Shared Operator * ( _ left As XYZ, _ value As Double _ ) As XYZ |
Visual C++ |
---|
public: static XYZ^ operator *( XYZ^ left, double value ) |
Parameters
- left
- Type: Autodesk.Revit.DB..::..XYZ
The vector to multiply with the value.
- value
- Type: System..::..Double
The value to multiply with the specified vector.
Return Value
The multiplied vector.
Remarks
The multiplied vector is obtained by multiplying each coordinate of
the specified vector by the specified value.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions..::..ArgumentNullException | Thrown when source is nullNothingnullptra null reference (Nothing in Visual Basic). |
Autodesk.Revit.Exceptions..::..ArgumentException | Thrown when the specified value is an infinite number. |