Module segment

Source
Expand description

Functions related to line segments.

Functionsยง

last_segment_x
Returns the last segment of x.
last_segment_y
Returns the last segment of y.
segment_angle
Returns the angle of the segment.
segment_end
Returns the point at the end of the given segment.
segment_end_x
Returns the segment end of x.
segment_end_y
Returns the segment end of y.
segment_length
Returns the length of the segment.
segment_start
Returns the point at the start of the given segment.
segment_start_x
Returns the segment start of x.
segment_start_y
Returns the segment start of y.
tangent_to_end
Returns the angle coming out of the end of the segment in degrees.