#include <Line.h>
Public Member Functions | |
double | GetFactorX () |
double | GetFactorY () |
double | GetOffset () |
double | GetSide (Vector2 position) |
Line () | |
Line (double factorX, double factorY, double offset) | |
~Line () | |
Static Public Member Functions | |
static bool | AreParallel (Line line1, Line line2) |
static Line | FromEdge (Edge edge) |
static Vector2 | Intersect (Line line1, Line line2) |
static Line | Normalize (Line line) |
Private Attributes | |
double | factorX |
double | factorY |
double | offset |
EdgeDetection::Line::Line | ( | ) | [inline] |
EdgeDetection::Line::Line | ( | double | factorX, |
double | factorY, | ||
double | offset | ||
) | [inline] |
EdgeDetection::Line::~Line | ( | ) | [inline] |
static bool EdgeDetection::Line::AreParallel | ( | Line | line1, |
Line | line2 | ||
) | [inline, static] |
static Line EdgeDetection::Line::FromEdge | ( | Edge | edge | ) | [inline, static] |
double EdgeDetection::Line::GetFactorX | ( | ) | [inline] |
double EdgeDetection::Line::GetFactorY | ( | ) | [inline] |
double EdgeDetection::Line::GetOffset | ( | ) | [inline] |
double EdgeDetection::Line::GetSide | ( | Vector2 | position | ) | [inline] |
static Vector2 EdgeDetection::Line::Intersect | ( | Line | line1, |
Line | line2 | ||
) | [inline, static] |
static Line EdgeDetection::Line::Normalize | ( | Line | line | ) | [inline, static] |
double EdgeDetection::Line::factorX [private] |
double EdgeDetection::Line::factorY [private] |
double EdgeDetection::Line::offset [private] |