|
![]() |
Returns the angle between this vector and another vector in the range [0, PI]
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
Visual Basic |
---|
Public Function Angle ( _ vector As Vector3D _ ) As Double |
C# |
---|
public double Angle( Vector3D vector ) |
Visual C++ |
---|
public: double Angle( Vector3D^ vector ) |
Parameters
- vector
- Type: Autodesk.Navisworks.Api..::..Vector3D
vector to calculate angle with
Return Value
angle in radians between this and vector
Exceptions
Exception | Condition |
---|---|
System..::..ObjectDisposedException | Object has been Disposed |
System..::..ArgumentNullException | Argument 'vector' is null |
System..::..ArgumentException | Argument 'vector' has been Disposed |