LineSegment
Creates a line segment.
Syntax
-
LineSegment(a, b)
-
a
is a two-dimensional real vector -
b
is a two-dimensional real vector
-
Description
LineSegment(a, b)
creates a line segment from a
to b
.
The object is shown in the current diagram and a reference to the object is returned.
The AdjustVisual
function can be used to adjust the appearance of the line, including the line end styles. See Visual settings for a list of applicable settings.