|
Search Grid
AUVSI Search Path Algorithm 2019-2021
|
Representation of a span in Vertex-Edge form. More...
Public Member Functions | |
| Span (Coord vert, Edge edge) | |
| Constructor. | |
| float_type | length () const |
| Get the length of the span. More... | |
| float_type | theta () const |
| Get the angle of the span from the horizontal. More... | |
| float_type | operator+ (const Span &op) const |
| Add up the lengths of two spans. More... | |
Public Attributes | |
| Coord | v |
| The antipodal vertex of the span. | |
| Edge | e |
| The edge component of the span. | |
Representation of a span in Vertex-Edge form.
|
inline |
|
inline |
Add up the lengths of two spans.
|
inline |
Get the angle of the span from the horizontal.