#include <ariaUtil.h>
Note this the theoretical line, i.e. it goes infinitely. For a line segment with endpoints, use ArLineSegment.
Definition at line 884 of file ariaUtil.h.
Public Member Functions | |
| ArLine (double x1, double y1, double x2, double y2) | |
| Constructor with endpoints. | |
| ArLine (double a, double b, double c) | |
| Constructor with parameters. | |
| const double | getA (void) const |
| Gets the A line parameter. | |
| const double | getB (void) const |
| Gets the B line parameter. | |
| const double | getC (void) const |
| Gets the C line parameter. | |
| bool | intersects (const ArLine *line, ArPose *pose) |
| finds the intersection of this line with another line | |
| void | makeLinePerp (const ArPose *pose, ArLine *line) const |
| Makes the given line perpendicular to this one though the given pose. | |
| void | newParameters (double a, double b, double c) |
| Sets the line parameters (make it not a segment). | |
| void | newParametersFromEndpoints (double x1, double y1, double x2, double y2) |
| Sets the line parameters from endpoints, but makes it not a segment. | |
| virtual | ~ArLine () |
| Destructor. | |
Protected Attributes | |
| double | myA |
| double | myB |
| double | myC |
|
||||||||||||
|
finds the intersection of this line with another line
Definition at line 914 of file ariaUtil.h. |
1.4.0