Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

AprilTags::GLineSegment2D Class Reference

A 2D line with endpoints. More...

#include <GLineSegment2D.h>


Detailed Description

A 2D line with endpoints.

Definition at line 15 of file GLineSegment2D.h.

List of all members.

Public Member Functions

 GLineSegment2D (const std::pair< float, float > &p0Arg, const std::pair< float, float > &p1Arg)
std::pair< float, floatgetP0 () const
std::pair< float, floatgetP1 () const

Static Public Member Functions

static GLineSegment2D lsqFitXYW (const std::vector< XYWeight > &xyweight)

Private Attributes

GLine2D line
std::pair< float, floatp0
std::pair< float, floatp1
int weight

Constructor & Destructor Documentation

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

Definition at line 4 of file GLineSegment2D.cc.


Member Function Documentation

std::pair<float,float> AprilTags::GLineSegment2D::getP0 (  )  const

Definition at line 19 of file GLineSegment2D.h.

Referenced by AprilTags::TagDetector::extractTags().

std::pair<float,float> AprilTags::GLineSegment2D::getP1 (  )  const

Definition at line 20 of file GLineSegment2D.h.

Referenced by AprilTags::TagDetector::extractTags().

GLineSegment2D AprilTags::GLineSegment2D::lsqFitXYW ( const std::vector< XYWeight > &  xyweight  )  [static]

Definition at line 7 of file GLineSegment2D.cc.

Referenced by AprilTags::TagDetector::extractTags().


Member Data Documentation

Definition at line 23 of file GLineSegment2D.h.

Definition at line 24 of file GLineSegment2D.h.

Referenced by getP0().

Definition at line 25 of file GLineSegment2D.h.

Referenced by getP1().

Definition at line 26 of file GLineSegment2D.h.


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

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:19 2016 by Doxygen 1.6.3