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

C#

public Line3d(
    Point3d point1, 
    Point3d point2
);

Parameters

Parameters Description
Point3d point1 Input any 3D point
Point3d point2 Input any 3D point different from point1

Links

Line3d Class, Autodesk.AutoCAD.Geometry Namespace