Position and normals of one pair of nodes. More...
#include <NodePair.h>
Public Types | |
| typedef Eigen::Matrix3f | Mat3 | 
| typedef Eigen::Vector2f | Vec2 | 
| typedef Eigen::Vector3f | Vec3 | 
Public Member Functions | |
| const Vec2 & | getCircleMidPoint () const | 
| Mid-point vector getter.   | |
| const float & | getRadius () const | 
| Radius getter.   | |
| NodePair2D (const NodePair &nodePair, const Mat3 &transformation, const float &dist) | |
| NodePair2D (const Vec2 &nodeOnePosition, const Vec2 &nodeOneNormal, const Vec2 &nodeTwoPosition, const Vec2 &nodeTwoNormal, const float &dist) | |
| Contructor, point pair with normals. Calculates circle mid-point and radius.   | |
| bool | stable () | 
| Get stable condition.   | |
Static Public Member Functions | |
| static void | get2DTransformation (Mat3 &trans, float &angle, Vec3 &axis, const Vec3 &cylinderDirectionHypothesis) | 
Private Member Functions | |
| bool | checkRadius () | 
| float | distToMidPoint (const Vec2 &vec) const | 
| Calculate distance from mid-point to given position.   | |
| void | initialize () | 
Private Attributes | |
| Vec2 | mCircleMidPoint | 
| float | mDist | 
| Vec2 | mNormalOne | 
| Vec2 | mNormalTwo | 
| Vec2 | mPosOne | 
| Vec2 | mPosTwo | 
| float | mRadius | 
| bool | mStable | 
Position and normals of one pair of nodes.
Definition at line 86 of file NodePair.h.
| typedef Eigen::Matrix3f NodePair2D::Mat3 | 
Definition at line 89 of file NodePair.h.
| typedef Eigen::Vector2f NodePair2D::Vec2 | 
Definition at line 90 of file NodePair.h.
| typedef Eigen::Vector3f NodePair2D::Vec3 | 
Definition at line 88 of file NodePair.h.
| NodePair2D::NodePair2D | ( | const NodePair & | nodePair, | 
| const Mat3 & | transformation, | ||
| const float & | dist | ||
| ) |  [inline] | 
        
Definition at line 99 of file NodePair.h.
| NodePair2D::NodePair2D | ( | const Vec2 & | nodeOnePosition, | 
| const Vec2 & | nodeOneNormal, | ||
| const Vec2 & | nodeTwoPosition, | ||
| const Vec2 & | nodeTwoNormal, | ||
| const float & | dist | ||
| ) |  [inline] | 
        
Contructor, point pair with normals. Calculates circle mid-point and radius.
| nodeOnePosition | First points position. | 
| nodeOneNormal | First points normal. | 
| nodeTwoPosition | Second points position. | 
| nodeTwoNormal | Second points normal. | 
Definition at line 122 of file NodePair.h.
| bool NodePair2D::checkRadius | ( | ) |  [inline, private] | 
        
Definition at line 156 of file NodePair.h.
| float NodePair2D::distToMidPoint | ( | const Vec2 & | vec | ) |  const [inline, private] | 
        
Calculate distance from mid-point to given position.
| vec | Input vector (2D point) for distance meassurement. | 
Definition at line 164 of file NodePair.h.
| static void NodePair2D::get2DTransformation | ( | Mat3 & | trans, | 
| float & | angle, | ||
| Vec3 & | axis, | ||
| const Vec3 & | cylinderDirectionHypothesis | ||
| ) |  [inline, static] | 
        
Definition at line 92 of file NodePair.h.
| const Vec2& NodePair2D::getCircleMidPoint | ( | ) |  const [inline] | 
        
Mid-point vector getter.
Definition at line 137 of file NodePair.h.
| const float& NodePair2D::getRadius | ( | ) |  const [inline] | 
        
Radius getter.
Definition at line 142 of file NodePair.h.
| void NodePair2D::initialize | ( | ) |  [inline, private] | 
        
Definition at line 144 of file NodePair.h.
| bool NodePair2D::stable | ( | ) |  [inline] | 
        
Get stable condition.
Definition at line 132 of file NodePair.h.
Vec2 NodePair2D::mCircleMidPoint [private] | 
        
Definition at line 178 of file NodePair.h.
float NodePair2D::mDist [private] | 
        
Definition at line 175 of file NodePair.h.
Vec2 NodePair2D::mNormalOne [private] | 
        
Definition at line 170 of file NodePair.h.
Vec2 NodePair2D::mNormalTwo [private] | 
        
Definition at line 173 of file NodePair.h.
Vec2 NodePair2D::mPosOne [private] | 
        
Definition at line 169 of file NodePair.h.
Vec2 NodePair2D::mPosTwo [private] | 
        
Definition at line 172 of file NodePair.h.
float NodePair2D::mRadius [private] | 
        
Definition at line 177 of file NodePair.h.
bool NodePair2D::mStable [private] | 
        
Definition at line 179 of file NodePair.h.