Line2d.Line2d(Point2d, Vector2d) Constructor

Description

Constructs an unbounded line that passes through point and has a direction of vector. vector must not be a zero-length vector.

Visual Basic

Public Sub New(
    point As Point2d, 
    vector As Vector2d
)

C#

public Line2d(
    Point2d point, 
    Vector2d vector
);

Parameters

Parameters Description
Point2d point Input any 2D point
Vector2d vector Input any 2D vector

Links

Line2d Class, Autodesk.AutoCAD.Geometry Namespace