LineSegment2d.LineSegment2d Constructor (Point2d, Point2d)

Visual Basic
Public Sub New(
    point1 As Point2d, 
    point2 As Point2d
)
C#
public LineSegment2d(
    Point2d point1, 
    Point2d point2
);
Parameters
Parameters 
Description 
Point2d point1 
Input start point of line segment 
Point2d point2 
Input end point of line segment 
Description

 

Constructs a line segment between point1 and point2. point1 and point2 must not be the same point.

Links