GCS::ConstraintMidpointOnLine Class Reference

#include <Constraints.h>

Inheritance diagram for GCS::ConstraintMidpointOnLine:
GCS::Constraint

List of all members.

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.)

Detailed Description

Definition at line 245 of file Constraints.h.


Constructor & Destructor Documentation

GCS::ConstraintMidpointOnLine::ConstraintMidpointOnLine ( Line l1,
Line l2 
)
GCS::ConstraintMidpointOnLine::ConstraintMidpointOnLine ( Point l1p1,
Point l1p2,
Point l2p1,
Point l2p2 
)

Member Function Documentation

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().


The documentation for this class was generated from the following files:

Generated on Wed Nov 23 19:01:57 2011 for FreeCAD by  doxygen 1.6.1