M_Rhino_Geometry_Line__ctor_2 - mcneel/rhinocommon-api-docs GitHub Wiki

Line Constructor (Point3d, Vector3d, Double)

Constructs a new line segment from start point, direction and length.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public Line(
	Point3d start,
	Vector3d direction,
	double length
)

VB

Public Sub New ( 
	start As Point3d,
	direction As Vector3d,
	length As Double
)

Parameters

 

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.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Line Structure
Line Overload
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️