GCS::ConstraintP2LDistance Class Reference

#include <Constraints.h>

Inheritance diagram for GCS::ConstraintP2LDistance:
GCS::Constraint

List of all members.

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

Detailed Description

Definition at line 142 of file Constraints.h.


Constructor & Destructor Documentation

GCS::ConstraintP2LDistance::ConstraintP2LDistance ( Point p,
Line l,
double *  d 
)

Member Function Documentation

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


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