GCS::ConstraintEqual Class Reference
#include <Constraints.h>
Public Member Functions | |
ConstraintEqual (double *p1, double *p2, double p1p2ratio=1.0) | |
virtual double | error () |
virtual ConstraintType | getTypeId () |
virtual double | grad (double *) |
virtual void | rescale (double coef=1.) |
Public Member Functions inherited from GCS::Constraint | |
Constraint () | |
int | findParamInPvec (double *param) |
int | getTag () |
bool | isDriving () const |
virtual double | maxStep (MAP_pD_D &dir, double lim=1.) |
VEC_pD | params () |
void | redirectParams (MAP_pD_pD redirectionmap) |
void | revertParams () |
void | setDriving (bool isdriving) |
void | setTag (int tagId) |
virtual | ~Constraint () |
Constructor & Destructor Documentation
◆ ConstraintEqual()
GCS::ConstraintEqual::ConstraintEqual | ( | double * | p1, |
double * | p2, | ||
double | p1p2ratio = 1.0 |
||
) |
References rescale().
Member Function Documentation
◆ error()
|
virtual |
Reimplemented from GCS::Constraint.
◆ getTypeId()
|
virtual |
Reimplemented from GCS::Constraint.
References GCS::Equal.
◆ grad()
|
virtual |
Reimplemented from GCS::Constraint.
◆ rescale()
|
virtual |
Reimplemented from GCS::Constraint.
Referenced by ConstraintEqual().
The documentation for this class was generated from the following files:
- src/Mod/Sketcher/App/planegcs/Constraints.h
- src/Mod/Sketcher/App/planegcs/Constraints.cpp