Autodesk.AutoCAD.Geometry Namespace > LineSegment3d Class > LineSegment3d Methods > Set Method > Set(Point3d, Vector3d) Method
LineSegment3d.Set(Point3d, Vector3d) Method
Description

 

Changes the definition of the line segment so that the start point is point and the endpoint is point+vector. vector must not be a zero-length vector.

Visual Basic
Public Function Set(
    point As Point3d, 
    vector As Vector3d
) As void
C#
public void Set(
    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
   Comments?