LineSegment2d.LineSegment2d(Point2d, Point2d) Constructor

Description

Constructs a line segment between 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 LineSegment2d(
    Point2d point1, 
    Point2d point2
);

Parameters

Parameters Description
Point2d point1 Input start point of line segment
Point2d point2 Input end point of line segment

Links

LineSegment2d Class, Autodesk.AutoCAD.Geometry Namespace