|
Search Grid
AUVSI Search Path Algorithm 2019-2021
|
Simple representation of an edge. More...
Public Member Functions | |
| Edge () | |
| Default constructor. | |
| Edge (Coord vert1, Coord vert2) | |
| Construct an Edge given two Coords. More... | |
| float_type | slope () const |
| Get the slope of the edge. More... | |
| bool | isVertical () const |
| Determine if the edge is vertical. More... | |
| float_type | length () const |
| Get the length of the edge. More... | |
| float_type | theta () const |
| Get the angle of the edge from the horizontal in radians. More... | |
| bool | operator== (const Edge &op) const |
| Overloaded == operator. | |
Public Attributes | |
| Coord | v1 |
| The vertices of the edge. More... | |
| Coord | v2 |
| float_type | a |
| Coefficients for the standard form of the line (ax + by + c). | |
| float_type | b |
| float_type | c |
Simple representation of an edge.
|
inline |
Determine if the edge is vertical.
|
inline |
|
inline |
|
inline |
Get the angle of the edge from the horizontal in radians.