#include <Constraints.h>
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.) |
Definition at line 123 of file Constraints.h.
Definition at line 226 of file Constraints.cpp.
References GCS::Constraint::origpvec, GCS::Constraint::pvec, rescale(), GCS::Point::x, and GCS::Point::y.
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().