|
|
Compare vectors using a tolerance
Namespace: Autodesk.Navisworks.Api
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
Public Shared Function TolerantEquals ( _ vector0 As Vector2D, _ vector1 As Vector2D, _ tolerance As Double _ ) As Boolean |
| C# |
|---|
public static bool TolerantEquals( Vector2D vector0, Vector2D vector1, double tolerance ) |
| Visual C++ |
|---|
public: static bool TolerantEquals( Vector2D^ vector0, Vector2D^ vector1, double tolerance ) |
Parameters
- vector0
- Type: Autodesk.Navisworks.Api..::..Vector2D
- vector1
- Type: Autodesk.Navisworks.Api..::..Vector2D
- tolerance
- Type: System..::..Double
Exceptions
| Exception | Condition |
|---|---|
| System..::..ArgumentNullException | Argument 'vector0' is null |
| System..::..ArgumentException | Argument 'vector0' has been Disposed |
| System..::..ArgumentNullException | Argument 'vector1' is null |
| System..::..ArgumentException | Argument 'vector1' has been Disposed |