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 Point2d, vector As Vector2d )
C#
public LineSegment2d( Point2d point, Vector2d vector );
Parameters
Parameters | Description |
---|---|
Point2d point | Input start point of line segment |
Vector2d vector | Input vector between endpoint and start point of line segment |