#include <Constraints.h>
Public Member Functions | |
ConstraintPerpendicular (Point &l1p1, Point &l1p2, Point &l2p1, Point &l2p2) | |
ConstraintPerpendicular (Line &l1, Line &l2) | |
virtual double | error () |
virtual ConstraintType | getTypeId () |
virtual double | grad (double *) |
virtual void | rescale (double coef=1.) |
Definition at line 200 of file Constraints.h.
Definition at line 518 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::ConstraintPerpendicular::ConstraintPerpendicular | ( | Point & | l1p1, | |
Point & | l1p2, | |||
Point & | l2p1, | |||
Point & | l2p2 | |||
) |
Definition at line 532 of file Constraints.cpp.
References GCS::Constraint::origpvec, GCS::Constraint::pvec, rescale(), GCS::Point::x, and GCS::Point::y.
double GCS::ConstraintPerpendicular::error | ( | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 561 of file Constraints.cpp.
References GCS::Constraint::scale.
ConstraintType GCS::ConstraintPerpendicular::getTypeId | ( | void | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 547 of file Constraints.cpp.
References GCS::Perpendicular.
double GCS::ConstraintPerpendicular::grad | ( | double * | param | ) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 570 of file Constraints.cpp.
References GCS::Constraint::scale.
void GCS::ConstraintPerpendicular::rescale | ( | double | coef = 1. |
) | [virtual] |
Reimplemented from GCS::Constraint.
Definition at line 552 of file Constraints.cpp.
References GCS::Constraint::scale, and KDL::sqrt().
Referenced by ConstraintPerpendicular().