[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::DistSet Struct Reference

List of all members.

Public Member Functions

 DistSet (vector< FDiff2D > &points, double margin, double minDist, double maxDist)
 create distance table of a set of spherical points
 ~DistSet ()
void printDistTable (ostream &o)
 print dist table
double getDistance (int pNr, int p2Nr) const
 get distance between two points
void getLines (double distance, vector< Line > &v) const
 get points with this distance +- error dist
void closeTriangle (Line &line, const Triangle &tri, vector< Triangle > &v) const
 get the point that close the triangle with base line, given two distances.
void findSimilarTriangles (const Triangle &tri, vector< Triangle > &output) const
 try to find similar triangles
Triangle getTriangle (int p1, int p2, int p3)
Triangle getRandomTriangle ()
double getMargin () const

Constructor & Destructor Documentation

AngularMatching::DistSet::DistSet vector< FDiff2D > &  points,
double  margin,
double  minDist,
double  maxDist
[inline]
 

create distance table of a set of spherical points

Parameters:
margin maximum distance error allowed while comparing distances
minDist minimum distance
maxDist maximum distance

AngularMatching::DistSet::~DistSet  )  [inline]
 


Member Function Documentation

void AngularMatching::DistSet::closeTriangle Line line,
const Triangle tri,
vector< Triangle > &  v
const [inline]
 

get the point that close the triangle with base line, given two distances.

void AngularMatching::DistSet::findSimilarTriangles const Triangle tri,
vector< Triangle > &  output
const [inline]
 

try to find similar triangles

double AngularMatching::DistSet::getDistance int  pNr,
int  p2Nr
const [inline]
 

get distance between two points

void AngularMatching::DistSet::getLines double  distance,
vector< Line > &  v
const [inline]
 

get points with this distance +- error dist

Todo:
Could be optimized! O(n^2)

double AngularMatching::DistSet::getMargin  )  const [inline]
 

Triangle AngularMatching::DistSet::getRandomTriangle  )  [inline]
 

Triangle AngularMatching::DistSet::getTriangle int  p1,
int  p2,
int  p3
[inline]
 

void AngularMatching::DistSet::printDistTable ostream &  o  )  [inline]
 

print dist table


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