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...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
|
||||||||||||||||||||||||||||
|
create a triangle
|
Member Function Documentation
|
|
|
|
|
normalize the triangle, enforce distance sort order, and move point accordingly
|
|
|
sort by point number indicies
|
|
|
|
Member Data Documentation
|
|
|
|
|
|
The documentation for this struct was generated from the following file:
- hugin1/tools/automatch.cpp
1.3.9.1