Public Member Functions | Static Public Member Functions | Private Attributes
AprilTags::GLineSegment2D Class Reference

A 2D line with endpoints. More...

#include <GLineSegment2D.h>

List of all members.

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

Detailed Description

A 2D line with endpoints.

Definition at line 15 of file GLineSegment2D.h.

Constructor & Destructor Documentation

AprilTags::GLineSegment2D::GLineSegment2D ( const std::pair< float, float > &  p0Arg,
const std::pair< float, float > &  p1Arg 

Definition at line 6 of file

Member Function Documentation

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

Member Data Documentation

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.

Definition at line 26 of file GLineSegment2D.h.

The documentation for this class was generated from the following files:

Author(s): Mitchell Wills
autogenerated on Thu Aug 27 2015 12:23:28