GCS::ConstraintP2PDistance Class Reference

#include <Constraints.h>

Inheritance diagram for GCS::ConstraintP2PDistance:
GCS::Constraint

List of all members.

Public Member Functions

 ConstraintP2PDistance (Point &p1, Point &p2, 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 105 of file Constraints.h.


Constructor & Destructor Documentation

GCS::ConstraintP2PDistance::ConstraintP2PDistance ( Point p1,
Point p2,
double *  d 
)

Member Function Documentation

double GCS::ConstraintP2PDistance::error (  )  [virtual]

Reimplemented from GCS::Constraint.

Definition at line 167 of file Constraints.cpp.

References draftlibs::fcvec::dist(), GCS::Constraint::scale, and KDL::sqrt().

ConstraintType GCS::ConstraintP2PDistance::getTypeId ( void   )  [virtual]

Reimplemented from GCS::Constraint.

Definition at line 157 of file Constraints.cpp.

References GCS::P2PDistance.

double GCS::ConstraintP2PDistance::grad ( double *  param  )  [virtual]

Reimplemented from GCS::Constraint.

Definition at line 176 of file Constraints.cpp.

References GCS::Constraint::scale, and KDL::sqrt().

double GCS::ConstraintP2PDistance::maxStep ( MAP_pD_D dir,
double  lim = 1. 
) [virtual]

Reimplemented from GCS::Constraint.

Definition at line 194 of file Constraints.cpp.

References draftlibs::fcvec::dist(), KDL::max(), zipios::min(), and KDL::sqrt().

void GCS::ConstraintP2PDistance::rescale ( double  coef = 1.  )  [virtual]

Reimplemented from GCS::Constraint.

Definition at line 162 of file Constraints.cpp.

References GCS::Constraint::scale.

Referenced by ConstraintP2PDistance().


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

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