GCS::ConstraintP2PDistance Class Reference
#include <Constraints.h>
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.) | |
![]() | |
Constraint () | |
int findParamInPvec (double *param) | |
int getTag () | |
bool isDriving () const | |
VEC_pD params () | |
void redirectParams (MAP_pD_pD redirectionmap) | |
void revertParams () | |
void setDriving (bool isdriving) | |
void setTag (int tagId) | |
virtual ~Constraint () | |
Constructor & Destructor Documentation
◆ ConstraintP2PDistance()
References rescale(), GCS::Point::x, and GCS::Point::y.
Member Function Documentation
◆ error()
|
virtual |
Reimplemented from GCS::Constraint.
References DraftVecUtils::dist().
◆ getTypeId()
|
virtual |
Reimplemented from GCS::Constraint.
References GCS::P2PDistance.
◆ grad()
|
virtual |
Reimplemented from GCS::Constraint.
◆ maxStep()
|
virtual |
Reimplemented from GCS::Constraint.
References DraftVecUtils::dist().
◆ rescale()
|
virtual |
Reimplemented from GCS::Constraint.
Referenced by ConstraintP2PDistance().
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