GCS::ConstraintMidpointOnLine Class Reference
#include <Constraints.h>
Public Member Functions | |
ConstraintMidpointOnLine (Line &l1, Line &l2) | |
ConstraintMidpointOnLine (Point &l1p1, Point &l1p2, Point &l2p1, Point &l2p2) | |
virtual double error () | |
virtual ConstraintType getTypeId () | |
virtual double grad (double *) | |
virtual void rescale (double coef=1.) | |
![]() | |
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
◆ ConstraintMidpointOnLine() [1/2]
References rescale().
◆ ConstraintMidpointOnLine() [2/2]
GCS::ConstraintMidpointOnLine::ConstraintMidpointOnLine | ( | Point & | l1p1, |
Point & | l1p2, | ||
Point & | l2p1, | ||
Point & | l2p2 | ||
) |
References rescale(), GCS::Point::x, and GCS::Point::y.
Member Function Documentation
◆ error()
|
virtual |
Reimplemented from GCS::Constraint.
◆ getTypeId()
|
virtual |
Reimplemented from GCS::Constraint.
References GCS::MidpointOnLine.
◆ grad()
|
virtual |
Reimplemented from GCS::Constraint.
◆ rescale()
|
virtual |
Reimplemented from GCS::Constraint.
Referenced by ConstraintMidpointOnLine().
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