Autodesk.AutoCAD.Geometry Namespace > Line2d Class > Line2d Constructor > Line2d(Point2d, Point2d) Constructor
Line2d.Line2d(Point2d, Point2d) Constructor
Description

 

Constructs an unbounded line that passes through point1 and point2. point1 and point2 must not be the same point.

Visual Basic
Public Sub New(
    point1 As Point2d, 
    point2 As Point2d
)
C#
public Line2d(
    Point2d point1, 
    Point2d point2
);
Parameters
Parameters 
Description 
Point2d point1 
Input any 2D point 
Point2d point2 
Input any 2D point different from point1 
Links
   Comments?