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

 

Changes the definition of the line segment so that the start point is point1 and the endpoint is point2. point1 and point2 must not be the same point.

Visual Basic
Public Function Set(
    point1 As Point3d, 
    point2 As Point3d
) As void
C#
public void Set(
    Point3d point1, 
    Point3d point2
);
Parameters
Parameters 
Description 
Point3d point1 
Input start point of line segment 
Point3d point2 
Input end point of line segment 
Links
   Comments?