Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

LineData::ColinearTest Class Reference

#include <LineData.h>

Inheritance diagram for LineData::ColinearTest:

List of all members.


Detailed Description

True if line orientations are within ang_tol (default 20 deg) and normpoints are within dist_tol (default 10 units).

Definition at line 276 of file LineData.h.


Public Member Functions

 ColinearTest (AngPi _ang_tol=mathutils::deg2rad(20.0), coordinate_t _dist_tol=10)
bool operator() (const Shape< LineData > &line1, const Shape< LineData > &ln2) const

Public Attributes

AngPi ang_tol
coordinate_t dist_tol

Constructor & Destructor Documentation

ColinearTest ( AngPi  _ang_tol = mathutils::deg2rad(20.0),
coordinate_t  _dist_tol = 10 
) [inline]

Definition at line 280 of file LineData.h.


Member Function Documentation

bool operator() ( const Shape< LineData > &  line1,
const Shape< LineData > &  ln2 
) const

Definition at line 1493 of file LineData.cc.


Member Data Documentation

AngPi ang_tol

Definition at line 278 of file LineData.h.

Referenced by LineData::ColinearTest::operator()().

coordinate_t dist_tol

Definition at line 279 of file LineData.h.

Referenced by LineData::ColinearTest::operator()().


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

DualCoding 4.0
Generated Thu Nov 22 00:53:56 2007 by Doxygen 1.5.4