#include <Constraints.h>
Public Member Functions | |
ConstraintP2PDistance (Point &p1, Point &p2, double *d) | |
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 105 of file Constraints.h.
Definition at line 146 of file Constraints.cpp.
References GCS::Constraint::origpvec, GCS::Constraint::pvec, rescale(), GCS::Point::x, and GCS::Point::y.
double GCS::ConstraintP2PDistance::error | ( | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 167 of file Constraints.cpp.
References draftlibs::fcvec::dist(), GCS::Constraint::scale, and KDL::sqrt().
ConstraintType GCS::ConstraintP2PDistance::getTypeId | ( | void | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 157 of file Constraints.cpp.
References GCS::P2PDistance.
double GCS::ConstraintP2PDistance::grad | ( | double * | param | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 176 of file Constraints.cpp.
References GCS::Constraint::scale, and KDL::sqrt().
double GCS::ConstraintP2PDistance::maxStep | ( | MAP_pD_D & | dir, | |
double | lim = 1. | |||
) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 194 of file Constraints.cpp.
References draftlibs::fcvec::dist(), KDL::max(), zipios::min(), and KDL::sqrt().
void GCS::ConstraintP2PDistance::rescale | ( | double | coef = 1. |
) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 162 of file Constraints.cpp.
References GCS::Constraint::scale.
Referenced by ConstraintP2PDistance().