LineSegment2d Constructor

Overload List

Method Description
LineSegment2d.LineSegment2d () Default constructor. Constructs a line segment between (0,0) and (1,0).
LineSegment2d.LineSegment2d (Point2d, Point2d) Constructs a line segment between point1 and point2. point1 and point2 must not be the same point.
LineSegment2d.LineSegment2d (Point2d, Vector2d) Constructs a line segment whose start point is point and whose endpoint is point+vector. vector must not be a... more