Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

ColinearTest Class Reference

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

#include <LineData.h>

Inheritance diagram for ColinearTest:

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 329 of file LineData.h.

List of all members.

Public Member Functions

 ColinearTest (AngPi _ang_tol=mathutils::deg2rad((orientation_t) 20), 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((orientation_t)20),
coordinate_t  _dist_tol = 10 
)

Definition at line 333 of file LineData.h.


Member Function Documentation

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

Definition at line 1907 of file LineData.cc.


Member Data Documentation

Definition at line 331 of file LineData.h.

Referenced by ColinearTest::operator()().

Definition at line 332 of file LineData.h.

Referenced by ColinearTest::operator()().


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

DualCoding 5.1CVS
Generated Mon May 9 04:56:31 2016 by Doxygen 1.6.3