#include <Constraints.h>
Public Member Functions | |
ConstraintP2LDistance (Point &p, Line &l, 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 142 of file Constraints.h.
Definition at line 298 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.
double GCS::ConstraintP2LDistance::error | ( | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 321 of file Constraints.cpp.
References Py::abs(), draftlibs::fcvec::dist(), GCS::Constraint::scale, and KDL::sqrt().
ConstraintType GCS::ConstraintP2LDistance::getTypeId | ( | void | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 311 of file Constraints.cpp.
References GCS::P2LDistance.
double GCS::ConstraintP2LDistance::grad | ( | double * | param | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 333 of file Constraints.cpp.
References GCS::Constraint::scale, and KDL::sqrt().
double GCS::ConstraintP2LDistance::maxStep | ( | MAP_pD_D & | dir, | |
double | lim = 1. | |||
) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 363 of file Constraints.cpp.
References Py::abs(), KDL::max(), zipios::min(), and KDL::sqrt().
void GCS::ConstraintP2LDistance::rescale | ( | double | coef = 1. |
) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 316 of file Constraints.cpp.
References GCS::Constraint::scale.
Referenced by ConstraintP2LDistance().