Constructs a line from a defining point and a direction vector.
Namespace:
ceometric.VectorGeometryAssembly: ceometric.VectorGeometry (in ceometric.VectorGeometry.dll) Version: 1.8.0.0 (1.8.0.0)
Syntax
C# |
---|
public Line( Point point, Vector3d directionVector ) |
Visual Basic (Declaration) |
---|
Public Sub New ( _ point As Point, _ directionVector As Vector3d _ ) |
Visual C++ |
---|
public: Line( Point^ point, Vector3d^ directionVector ) |
Parameters
- point
- Type: ceometric.VectorGeometry..::.Point
A point on the line.
- directionVector
- Type: ceometric.VectorGeometry..::.Vector3d
A direction Vector3d of the line.
Exceptions
Exception | Condition |
---|---|
System..::.ArgumentException | The length of directionVector is zero. |