GCS::ConstraintAngleViaPoint Class Reference
#include <Constraints.h>
Public Member Functions | |
ConstraintAngleViaPoint (Curve &acrv1, Curve &acrv2, Point p, double *angle) | |
virtual double | error () |
virtual ConstraintType | getTypeId () |
virtual double | grad (double *) |
virtual void | rescale (double coef=1.) |
~ConstraintAngleViaPoint () | |
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
◆ ConstraintAngleViaPoint()
GCS::ConstraintAngleViaPoint::ConstraintAngleViaPoint | ( | Curve & | acrv1, |
Curve & | acrv2, | ||
Point | p, | ||
double * | angle | ||
) |
References GCS::Curve::Copy(), GCS::Curve::PushOwnParams(), and rescale().
◆ ~ConstraintAngleViaPoint()
GCS::ConstraintAngleViaPoint::~ConstraintAngleViaPoint | ( | ) |
Member Function Documentation
◆ error()
|
virtual |
Reimplemented from GCS::Constraint.
References GCS::Curve::CalculateNormal(), GCS::DeriVector2::x, and GCS::DeriVector2::y.
Referenced by grad().
◆ getTypeId()
|
virtual |
Reimplemented from GCS::Constraint.
References GCS::AngleViaPoint.
◆ grad()
|
virtual |
Reimplemented from GCS::Constraint.
References GCS::Curve::CalculateNormal(), GCS::DeriVector2::dx, GCS::DeriVector2::dy, error(), GCS::Constraint::findParamInPvec(), GCS::DeriVector2::length(), GCS::DeriVector2::x, and GCS::DeriVector2::y.
◆ rescale()
|
virtual |
Reimplemented from GCS::Constraint.
Referenced by ConstraintAngleViaPoint().
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