#include <Constraints.h>
Public Member Functions | |
ConstraintMidpointOnLine (Point &l1p1, Point &l1p2, Point &l2p1, Point &l2p2) | |
ConstraintMidpointOnLine (Line &l1, Line &l2) | |
virtual double | error () |
virtual ConstraintType | getTypeId () |
virtual double | grad (double *) |
virtual void | rescale (double coef=1.) |
Definition at line 245 of file Constraints.h.
Definition at line 692 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::ConstraintMidpointOnLine::ConstraintMidpointOnLine | ( | Point & | l1p1, | |
Point & | l1p2, | |||
Point & | l2p1, | |||
Point & | l2p2 | |||
) |
Definition at line 706 of file Constraints.cpp.
References GCS::Constraint::origpvec, GCS::Constraint::pvec, rescale(), GCS::Point::x, and GCS::Point::y.
double GCS::ConstraintMidpointOnLine::error | ( | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 730 of file Constraints.cpp.
References GCS::Constraint::scale, and KDL::sqrt().
ConstraintType GCS::ConstraintMidpointOnLine::getTypeId | ( | void | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 720 of file Constraints.cpp.
References GCS::MidpointOnLine.
double GCS::ConstraintMidpointOnLine::grad | ( | double * | param | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 743 of file Constraints.cpp.
References GCS::Constraint::scale, and KDL::sqrt().
void GCS::ConstraintMidpointOnLine::rescale | ( | double | coef = 1. |
) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 725 of file Constraints.cpp.
References GCS::Constraint::scale.
Referenced by ConstraintMidpointOnLine().