GCS::ConstraintP2PAngle Class Reference

#include <Constraints.h>

Inheritance diagram for GCS::ConstraintP2PAngle:
GCS::Constraint

List of all members.

Public Member Functions

 ConstraintP2PAngle (Point &p1, Point &p2, double *a, double da_=0.)
virtual double error ()
virtual ConstraintType getTypeId ()
virtual double grad (double *)
virtual double maxStep (MAP_pD_D &dir, double lim=1.)
virtual void rescale (double coef=1.)

Detailed Description

Definition at line 123 of file Constraints.h.


Constructor & Destructor Documentation

GCS::ConstraintP2PAngle::ConstraintP2PAngle ( Point p1,
Point p2,
double *  a,
double  da_ = 0. 
)

Member Function Documentation

double GCS::ConstraintP2PAngle::error (  )  [virtual]

Reimplemented from GCS::Constraint.

Definition at line 248 of file Constraints.cpp.

References KDL::atan2(), KDL::cos(), GCS::Constraint::scale, KDL::sin(), MovieTool::x, and MovieTool::y.

ConstraintType GCS::ConstraintP2PAngle::getTypeId ( void   )  [virtual]

Reimplemented from GCS::Constraint.

Definition at line 238 of file Constraints.cpp.

References GCS::P2PAngle.

double GCS::ConstraintP2PAngle::grad ( double *  param  )  [virtual]

Reimplemented from GCS::Constraint.

Definition at line 260 of file Constraints.cpp.

References KDL::cos(), GCS::Constraint::scale, KDL::sin(), MovieTool::x, and MovieTool::y.

double GCS::ConstraintP2PAngle::maxStep ( MAP_pD_D dir,
double  lim = 1. 
) [virtual]

Reimplemented from GCS::Constraint.

Definition at line 285 of file Constraints.cpp.

References Py::abs(), M_PI, and zipios::min().

void GCS::ConstraintP2PAngle::rescale ( double  coef = 1.  )  [virtual]

Reimplemented from GCS::Constraint.

Definition at line 243 of file Constraints.cpp.

References GCS::Constraint::scale.

Referenced by ConstraintP2PAngle().


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

Generated on Wed Nov 23 19:01:57 2011 for FreeCAD by  doxygen 1.6.1