M_Rhino_Geometry_Line__ctor_2 - mcneel/rhinocommon-api-docs GitHub Wiki
Constructs a new line segment from start point, direction and length.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0
C#
public Line(
Point3d start,
Vector3d direction,
double length
)
VB
Public Sub New (
start As Point3d,
direction As Vector3d,
length As Double
)
- start
- Type: Rhino.Geometry.Point3d
Start point of line segment. - direction
- Type: Rhino.Geometry.Vector3d
Direction of line segment. - length
- Type: System.Double
Length of line segment.
Supported in: 6.0.16224.21491, 5D58w