Module nannou::geom::line [−][src]
Modules
cap |
Items related to capping the ends of Lines or Polylines. |
Structs
Capped |
A line whose ends are capped with protruding geometry (either rounded or squared). |
CappedVertices |
An iterator yielding the vertices that describe the outer edges of a Capped line. |
Line |
A line represented by two points. |
Enums
Cap |
The kind of geometry with which a line may be capped. |
Functions
contains |
Describes whether or not the given point touches the line described by a -> b with the given thickness. |
quad_corners |
Given two points and half the line thickness, return the four corners of the rectangle describing the line. |
triangles |
Given two points and half the line thickness, return the two triangles that describe the line. |
triangles_iter |
Given two points and half the line thickness, return the two triangles that describe the line. |
Type Definitions
Quad |
The quad used to describe a line. |
Tri |
The triangle types used to describe a line quad. |
Triangles |
The triangles used to describe the quad of a line. |
Vertices |
The vertices used to describe the quad of a line. |