[an error occurred while processing this directive]
Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

AngularMatching::Triangle Struct Reference

Triangle. More...

List of all members.

Public Member Functions

 Triangle (int p1, double d12, int p2, double d23, int p3, double d31)
 create a triangle
void Triangle::assertDistances (const vector< FDiff2D > &epoints)
bool bad (double margin)
bool operator< (const Triangle &o) const
 sort by point number indicies
void normalize ()
 normalize the triangle, enforce distance sort order, and move point accordingly

Public Attributes

int points [3]
double dist [3]


Detailed Description

Triangle.

structure with 3 points points, and associated distances dist

point distance order: dist12, dist23, dist31

distances are sorted, dist12 <= dist23 <= dist31

normalize() can be used to reorder the point to confirm to this measure


Constructor & Destructor Documentation

AngularMatching::Triangle::Triangle int  p1,
double  d12,
int  p2,
double  d23,
int  p3,
double  d31
[inline]
 

create a triangle


Member Function Documentation

bool AngularMatching::Triangle::bad double  margin  )  [inline]
 

void AngularMatching::Triangle::normalize  )  [inline]
 

normalize the triangle, enforce distance sort order, and move point accordingly

bool AngularMatching::Triangle::operator< const Triangle o  )  const [inline]
 

sort by point number indicies

void AngularMatching::Triangle::Triangle::assertDistances const vector< FDiff2D > &  epoints  )  [inline]
 


Member Data Documentation

double AngularMatching::Triangle::dist[3]
 

int AngularMatching::Triangle::points[3]
 


The documentation for this struct was generated from the following file:

Generated on Mon Sep 20 01:01:35 2010 for Hugintrunk by doxygen 1.3.9.1