Divides this 2-D vector by the specified value and returns the result.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Syntax
| C# |
|---|
public UV Divide( double value ) |
| Visual Basic |
|---|
Public Function Divide ( _ value As Double _ ) As UV |
| Visual C++ |
|---|
public: UV^ Divide( double value ) |
Parameters
- value
- Type: System..::..Double
The value to divide this vector by.
Return Value
The divided 2-D vector.
Remarks
The divided vector is obtained by dividing each coordinate of
this vector by the specified value.
Exceptions
| Exception | Condition |
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentException | Thrown when the specified value is an infinite number. |
| Autodesk.Revit.Exceptions..::..ArgumentException | Thrown when the specified value is zero. |