Returns the angle between this vector and the specified vector.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public double AngleTo( XYZ source )
Parameters
- source XYZ
- The specified vector.
Return Value
DoubleThe real number between 0 and PI equal to the angle between the two vectors in radians..
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when source is nullptr. |