Structs
- General purpose coordinate
- A straight line between two different points
Enums
- The
LineSegment
type can’t represent line segments of 0 length. It’s often convenient for users to treat 0-length line segments as points. This type represent line segments which can be of 0 length, treating such lines as single points.
Functions
- Returns an iterator over all the coordinates between start and end (inclusive) along a straight (rasterized) line which includes ordinal steps.
start
andend
may be the same. - Returns an iterator over all the coordinates between start and end (inclusive) along a straight (rasterized) line which includes only cardinal steps.
start
andend
may be the same.