LineSegment3d.LineSegment3d(Point3d, Vector3d) Constructor

Description

Constructs a line segment whose start point is point and whose endpoint is point+vector. vector must not be a zero-length vector.

Visual Basic

Public Sub New(
    point As Point3d, 
    vector As Vector3d
)

C#

public LineSegment3d(
    Point3d point, 
    Vector3d vector
);

Parameters

Parameters Description
Point3d point Input start point of line segment
Vector3d vector Input vector between endpoint and start point of line segment

Links

LineSegment3d Class, Autodesk.AutoCAD.Geometry Namespace