A 2D line with endpoints. More...
#include <GLineSegment2D.h>
Public Member Functions | |
std::pair< float, float > | getP0 () const |
std::pair< float, float > | getP1 () const |
GLineSegment2D (const std::pair< float, float > &p0Arg, const std::pair< float, float > &p1Arg) | |
Static Public Member Functions | |
static GLineSegment2D | lsqFitXYW (const std::vector< XYWeight > &xyweight) |
Private Attributes | |
GLine2D | line |
std::pair< float, float > | p0 |
std::pair< float, float > | p1 |
int | weight |
A 2D line with endpoints.
Definition at line 15 of file GLineSegment2D.h.
AprilTags::GLineSegment2D::GLineSegment2D | ( | const std::pair< float, float > & | p0Arg, |
const std::pair< float, float > & | p1Arg | ||
) |
Definition at line 6 of file GLineSegment2D.cc.
std::pair<float,float> AprilTags::GLineSegment2D::getP0 | ( | ) | const [inline] |
Definition at line 19 of file GLineSegment2D.h.
std::pair<float,float> AprilTags::GLineSegment2D::getP1 | ( | ) | const [inline] |
Definition at line 20 of file GLineSegment2D.h.
GLineSegment2D AprilTags::GLineSegment2D::lsqFitXYW | ( | const std::vector< XYWeight > & | xyweight | ) | [static] |
Definition at line 9 of file GLineSegment2D.cc.
GLine2D AprilTags::GLineSegment2D::line [private] |
Definition at line 23 of file GLineSegment2D.h.
std::pair<float,float> AprilTags::GLineSegment2D::p0 [private] |
Definition at line 24 of file GLineSegment2D.h.
std::pair<float,float> AprilTags::GLineSegment2D::p1 [private] |
Definition at line 25 of file GLineSegment2D.h.
int AprilTags::GLineSegment2D::weight [private] |
Definition at line 26 of file GLineSegment2D.h.