XYZ.UnaryNegation Operator
Description:
Negates the specified vector and returns the result.
Negates the specified vector and returns the result.
Remarks:
The negated vector is obtained by changing the sign of each coordinate of the specified vector.
The negated vector is obtained by changing the sign of each coordinate of the specified vector.
Parameters
Parameter | Type | Description |
---|---|---|
source | XYZ |
Return Value
Type | Description |
---|---|
XYZ | The vector opposite to the specified vector. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when source is. |