Returns the unbounded line that passes through the specified point in the direction of the specified vector.
Namespace:
Autodesk.Revit.DB
Assembly:
RevitAPI
(in RevitAPI.dll) Version: 2015.0.0.0 (2015.0.0.0)
Syntax
C# |
---|
|
Visual Basic |
---|
|
Visual C++ |
---|
|
Parameters
- origin
-
Type:
Autodesk.Revit.DB
XYZ
The start point of the line.
- vector
-
Type:
Autodesk.Revit.DB
XYZ
The direction vector.
Exceptions
Exception | Condition |
---|---|
Autodesk.Revit.Exceptions ArgumentException | Thrown when the specified vector is almost zero and cannot be normalized. |