|
|
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 UnitVector3D _ ) As Double |
| C# |
|---|
public double Angle( UnitVector3D vector ) |
| Visual C++ |
|---|
public: double Angle( UnitVector3D^ vector ) |
Parameters
- vector
- Type: Autodesk.Navisworks.Api..::..UnitVector3D
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 |