Skip to content

XYZ.Divide

Public Class

Divides this vector by the specified value and returns the result.

Namespace: Autodesk.Revit.DB

Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)

Syntax

public XYZ Divide(
double value
)

Parameters

valueDouble

The value to divide this vector by.

Return Value

XYZ
The divided vector.

Exceptions

Exception

Condition


ArgumentException

Thrown when the specified value is an infinite number or zero.


Remarks

The divided vector is obtained by dividing each coordinate of this vector by the specified value.