RVTDocs.com
Namespace: Autodesk.Revit.DB Class: XYZ

XYZ.Add

Method
Description:
Adds the specified vector to this vector and returns the result.
Remarks:
The added vector is obtained by adding each coordinate of the specified vector to the corresponding coordinate of this vector.
Syntax
public XYZ Add(
	XYZ source
)
Parameters
Parameter Type Description
source XYZ The vector to add to this vector.
Return Value
Type Description
XYZ The vector equal to the sum of the two vectors.
Exceptions
Exception Condition
ArgumentNullException Thrown when source is.