Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes
NodePair2D Class Reference

Position and normals of one pair of nodes. More...

#include <NodePair.h>

List of all members.

Public Types

typedef Eigen::Matrix3f Mat3
typedef Eigen::Vector2f Vec2
typedef Eigen::Vector3f Vec3

Public Member Functions

const Vec2getCircleMidPoint () 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

Detailed Description

Position and normals of one pair of nodes.

Definition at line 86 of file NodePair.h.


Member Typedef Documentation

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.


Constructor & Destructor Documentation

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.

Parameters:
nodeOnePositionFirst points position.
nodeOneNormalFirst points normal.
nodeTwoPositionSecond points position.
nodeTwoNormalSecond points normal.

Definition at line 122 of file NodePair.h.


Member Function Documentation

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.

Parameters:
vecInput 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.


Member Data Documentation

Definition at line 178 of file NodePair.h.

float NodePair2D::mDist [private]

Definition at line 175 of file NodePair.h.

Definition at line 170 of file NodePair.h.

Definition at line 173 of file NodePair.h.

Definition at line 169 of file NodePair.h.

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.


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


structure_coloring_fkie
Author(s): Bastian Gaspers
autogenerated on Sun Jan 5 2014 11:38:09