Blender V4.5
KDL::Frame2 Class Reference

A 2D frame class, for further documentation see the Frames class for methods with unchanged semantics. More...

#include <frames.hpp>

Public Member Functions

 Frame2 (const Rotation2 &R, const Vector2 &V)
 Frame2 (const Vector2 &V)
 Frame2 (const Rotation2 &R)
 Frame2 (void)
 Frame2 (const Frame2 &arg)
void Make4x4 (double *d)
double operator() (int i, int j)
 Treats a frame as a 3x3 matrix and returns element i,j Access to elements 0..2,0..2, bounds are checked when NDEBUG is not set.
double operator() (int i, int j) const
 Treats a frame as a 4x4 matrix and returns element i,j Access to elements 0..3,0..3, bounds are checked when NDEBUG is not set.
void SetInverse ()
Frame2 Inverse () const
Vector2 Inverse (const Vector2 &arg) const
Frame2operator= (const Frame2 &arg)
Vector2 operator* (const Vector2 &arg)
void SetIdentity ()
void Integrate (const Twist &t_this, double frequency)

Static Public Member Functions

static Frame2 Identity ()

Public Attributes

Vector2 p
 origine of the Frame
Rotation2 M
 Orientation of the Frame.

Friends

Frame2 operator* (const Frame2 &lhs, const Frame2 &rhs)
bool Equal (const Frame2 &a, const Frame2 &b, double eps=epsilon)

Detailed Description

A 2D frame class, for further documentation see the Frames class for methods with unchanged semantics.

Definition at line 1033 of file frames.hpp.

Constructor & Destructor Documentation

◆ Frame2() [1/5]

IMETHOD Frame2::Frame2 ( const Rotation2 & R,
const Vector2 & V )
inline

Definition at line 961 of file frames.hpp.

References KDL::Norm(), and v.

Referenced by Identity().

◆ Frame2() [2/5]

IMETHOD Frame2::Frame2 ( const Vector2 & V)
inlineexplicit

Definition at line 955 of file frames.hpp.

References eps, KDL::epsilon, and KDL::Normalize().

◆ Frame2() [3/5]

IMETHOD Frame2::Frame2 ( const Rotation2 & R)
inlineexplicit

Definition at line 949 of file frames.hpp.

References KDL::SetToZero(), and v.

◆ Frame2() [4/5]

IMETHOD KDL::Frame2::Frame2 ( void )
inline

Definition at line 946 of file frames.hpp.

References KDL::operator-(), and rhs.

◆ Frame2() [5/5]

IMETHOD Frame2::Frame2 ( const Frame2 & arg)
inline

Definition at line 1010 of file frames.hpp.

References Identity(), Inverse(), SetIdentity(), and v.

Member Function Documentation

◆ Identity()

Frame2 KDL::Frame2::Identity ( )
inlinestatic

Definition at line 1064 of file frames.hpp.

References Frame2(), and SetIdentity().

Referenced by Frame2().

◆ Integrate()

void KDL::Frame2::Integrate ( const Twist & t_this,
double frequency )
inline

◆ Inverse() [1/2]

IMETHOD Frame2 Frame2::Inverse ( ) const
inline

Definition at line 996 of file frames.hpp.

Referenced by Frame2().

◆ Inverse() [2/2]

IMETHOD Vector2 Frame2::Inverse ( const Vector2 & arg) const
inline

Definition at line 977 of file frames.hpp.

References b, eps, and Equal.

◆ Make4x4()

void KDL::Frame2::Make4x4 ( double * d)
inline

◆ operator()() [1/2]

IMETHOD double Frame2::operator() ( int i,
int j )
inline

Treats a frame as a 3x3 matrix and returns element i,j Access to elements 0..2,0..2, bounds are checked when NDEBUG is not set.

Definition at line 1015 of file frames.hpp.

References angle(), b, eps, Equal, and KDL::Rot().

◆ operator()() [2/2]

IMETHOD double Frame2::operator() ( int i,
int j ) const
inline

Treats a frame as a 4x4 matrix and returns element i,j Access to elements 0..3,0..3, bounds are checked when NDEBUG is not set.

Definition at line 1031 of file frames.hpp.

◆ operator*()

IMETHOD Vector2 Frame2::operator* ( const Vector2 & arg)
inline

Definition at line 972 of file frames.hpp.

Referenced by operator=().

◆ operator=()

IMETHOD Frame2 & Frame2::operator= ( const Frame2 & arg)
inline

Definition at line 1003 of file frames.hpp.

References i, operator*(), rhs, SetInverse(), and v.

◆ SetIdentity()

IMETHOD void Frame2::SetIdentity ( )
inline

Definition at line 982 of file frames.hpp.

Referenced by Frame2(), and Identity().

◆ SetInverse()

IMETHOD void Frame2::SetInverse ( )
inline

Definition at line 988 of file frames.hpp.

Referenced by operator=().

◆ Equal

bool Equal ( const Frame2 & a,
const Frame2 & b,
double eps = epsilon )
friend

Definition at line 1100 of file frames.hpp.

Referenced by Inverse(), and operator()().

◆ operator*

Frame2 operator* ( const Frame2 & lhs,
const Frame2 & rhs )
friend

Definition at line 967 of file frames.hpp.

References v.

Member Data Documentation

◆ M

Rotation2 KDL::Frame2::M

Orientation of the Frame.

Definition at line 1037 of file frames.hpp.

◆ p

Vector2 KDL::Frame2::p

origine of the Frame

Definition at line 1036 of file frames.hpp.


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