#include <Constraints.h>
Public Member Functions | |
ConstraintL2LAngle (Point &l1p1, Point &l1p2, Point &l2p1, Point &l2p2, double *a) | |
ConstraintL2LAngle (Line &l1, Line &l2, double *a) | |
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 221 of file Constraints.h.
Definition at line 587 of file Constraints.cpp.
References GCS::Constraint::origpvec, GCS::Line::p1, GCS::Line::p2, GCS::Constraint::pvec, rescale(), GCS::Point::x, and GCS::Point::y.
GCS::ConstraintL2LAngle::ConstraintL2LAngle | ( | Point & | l1p1, | |
Point & | l1p2, | |||
Point & | l2p1, | |||
Point & | l2p2, | |||
double * | a | |||
) |
Definition at line 602 of file Constraints.cpp.
References GCS::Constraint::origpvec, GCS::Constraint::pvec, rescale(), GCS::Point::x, and GCS::Point::y.
double GCS::ConstraintL2LAngle::error | ( | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 628 of file Constraints.cpp.
References KDL::atan2(), KDL::cos(), GCS::Constraint::scale, and KDL::sin().
ConstraintType GCS::ConstraintL2LAngle::getTypeId | ( | void | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 618 of file Constraints.cpp.
References GCS::L2LAngle.
double GCS::ConstraintL2LAngle::grad | ( | double * | param | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 642 of file Constraints.cpp.
References KDL::atan2(), KDL::cos(), GCS::Constraint::scale, and KDL::sin().
double GCS::ConstraintL2LAngle::maxStep | ( | MAP_pD_D & | dir, | |
double | lim = 1. | |||
) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 679 of file Constraints.cpp.
References Py::abs(), M_PI, and zipios::min().
void GCS::ConstraintL2LAngle::rescale | ( | double | coef = 1. |
) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 623 of file Constraints.cpp.
References GCS::Constraint::scale.
Referenced by ConstraintL2LAngle().