M_Rhino_Geometry_LineCurve__ctor_4 - mcneel/rhinocommon-api-docs GitHub Wiki

LineCurve Constructor (Point2d, Point2d)

Initializes a new instance of the LineCurve class, by setting start and end point from two 2D points.

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

Syntax

C#

public LineCurve(
	Point2d from,
	Point2d to
)

VB

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

Parameters

 

from
Type: Rhino.Geometry.Point2d
A start point.
to
Type: Rhino.Geometry.Point2d
An end point.

Version Information

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

LineCurve Class
LineCurve Overload
Rhino.Geometry Namespace

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