M_Rhino_Geometry_Line__ctor - mcneel/rhinocommon-api-docs GitHub Wiki

Line Constructor (Point3d, Point3d)

Constructs a new line segment between two points.

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

Syntax

C#

public Line(
	Point3d from,
	Point3d to
)

VB

Public Sub New ( 
	from As Point3d,
	to As Point3d
)

Parameters

 

from
Type: Rhino.Geometry.Point3d
Start point of line.
to
Type: Rhino.Geometry.Point3d
End point of line.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Line Structure
Line Overload
Rhino.Geometry Namespace

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