Share

LineSegment3d.LineSegment3d(Point3d, Point3d) 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 Point3d, 
    point2 As Point3d
)

C#

public LineSegment3d(
    Point3d point1, 
    Point3d point2
);

Parameters

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

Links

LineSegment3d Class, Autodesk.AutoCAD.Geometry Namespace

Was this information helpful?