Share

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.

C#

public Line2d(
    Point2d point1, 
    Point2d point2
);

Visual Basic

Public Sub New(
    point1 As Point2d, 
    point2 As Point2d
)

Parameters

Parameters Description
Point2d point1 Input any 2D point
Point2d point2 Input any 2D point different from point1

Links

Line2d Class, Autodesk.AutoCAD.Geometry Namespace

Was this information helpful?