GCS::Constraint Class Reference

#include <Constraints.h>

Inheritance diagram for GCS::Constraint:
GCS::ConstraintDifference GCS::ConstraintEqual GCS::ConstraintL2LAngle GCS::ConstraintMidpointOnLine GCS::ConstraintP2LDistance GCS::ConstraintP2PAngle GCS::ConstraintP2PDistance GCS::ConstraintParallel GCS::ConstraintPerpendicular GCS::ConstraintPointOnLine

List of all members.

Public Member Functions

 Constraint ()
virtual double error ()
int getTag ()
virtual ConstraintType getTypeId ()
virtual double grad (double *)
virtual double maxStep (MAP_pD_D &dir, double lim=1.)
VEC_pD params ()
void redirectParams (MAP_pD_pD redirectionmap)
virtual void rescale (double coef=1.)
void revertParams ()
void setTag (int tagId)

Protected Attributes

VEC_pD origpvec
VEC_pD pvec
double scale
int tag

Detailed Description

Definition at line 50 of file Constraints.h.


Constructor & Destructor Documentation

GCS::Constraint::Constraint (  ) 

Definition at line 33 of file Constraints.cpp.


Member Function Documentation

double GCS::Constraint::error (  )  [virtual]
int GCS::Constraint::getTag (  )  [inline]

Definition at line 65 of file Constraints.h.

References tag.

ConstraintType GCS::Constraint::getTypeId ( void   )  [virtual]
double GCS::Constraint::grad ( double *  param  )  [virtual]
double GCS::Constraint::maxStep ( MAP_pD_D dir,
double  lim = 1. 
) [virtual]
VEC_pD GCS::Constraint::params (  )  [inline]

Definition at line 60 of file Constraints.h.

References pvec.

Referenced by GCS::System::addConstraint().

void GCS::Constraint::redirectParams ( MAP_pD_pD  redirectionmap  ) 

Definition at line 38 of file Constraints.cpp.

References origpvec, and pvec.

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

Definition at line 49 of file Constraints.cpp.

References origpvec, and pvec.

void GCS::Constraint::setTag ( int  tagId  )  [inline]

Member Data Documentation

double GCS::Constraint::scale [protected]
int GCS::Constraint::tag [protected]

Definition at line 56 of file Constraints.h.

Referenced by getTag(), and setTag().


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