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

XYZ.AngleTo

Method
Description:
Returns the angle between this vector and the specified vector.
Remarks:
The angle between the two vectors is measured in the plane spanned by them.
Syntax
public double AngleTo(
	XYZ source
)
Parameters
Parameter Type Description
source XYZ The specified vector.
Return Value
Type Description
Double The real number between 0 and PI equal to the angle between the two vectors in radians..
Exceptions
Exception Condition
ArgumentNullException Thrown when source is.