M_Rhino_Geometry_Line__ctor_3 - mcneel/rhinocommon-api-docs GitHub Wiki

Line Constructor (Double, Double, Double, Double, Double, Double)

Constructs a new line segment between two points.

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

Syntax

C#

public Line(
	double x0,
	double y0,
	double z0,
	double x1,
	double y1,
	double z1
)

VB

Public Sub New ( 
	x0 As Double,
	y0 As Double,
	z0 As Double,
	x1 As Double,
	y1 As Double,
	z1 As Double
)

Parameters

 

x0
Type: System.Double
The X coordinate of the first point.
y0
Type: System.Double
The Y coordinate of the first point.
z0
Type: System.Double
The Z coordinate of the first point.
x1
Type: System.Double
The X coordinate of the second point.
y1
Type: System.Double
The Y coordinate of the second point.
z1
Type: System.Double
The Z coordinate of the second point.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

Line Structure
Line Overload
Rhino.Geometry Namespace

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