#include <Constraints.h>
◆ Constraint()
GCS::Constraint::Constraint |
( |
| ) |
|
◆ ~Constraint()
virtual GCS::Constraint::~Constraint |
( |
| ) |
|
|
virtual |
◆ error()
double GCS::Constraint::error |
( |
| ) |
|
|
virtual |
Reimplemented in GCS::ConstraintEqual, GCS::ConstraintDifference, GCS::ConstraintP2PDistance, GCS::ConstraintP2PAngle, GCS::ConstraintP2LDistance, GCS::ConstraintPointOnLine, GCS::ConstraintPointOnPerpBisector, GCS::ConstraintParallel, GCS::ConstraintPerpendicular, GCS::ConstraintL2LAngle, GCS::ConstraintMidpointOnLine, GCS::ConstraintTangentCircumf, GCS::ConstraintPointOnEllipse, GCS::ConstraintEllipseTangentLine, GCS::ConstraintInternalAlignmentPoint2Ellipse, GCS::ConstraintInternalAlignmentPoint2Hyperbola, GCS::ConstraintEqualMajorAxesConic, GCS::ConstraintEqualFocalDistance, GCS::ConstraintCurveValue, GCS::ConstraintPointOnHyperbola, GCS::ConstraintPointOnParabola, GCS::ConstraintAngleViaPoint, GCS::ConstraintSnell, and GCS::ConstraintEqualLineLength.
Referenced by femmesh.gmshtools.GmshTools::read_and_set_new_mesh(), FreeCADInit.FCADLogger::report(), and femmesh.gmshtools.GmshTools::run_gmsh_with_geo().
◆ findParamInPvec()
int GCS::Constraint::findParamInPvec |
( |
double * |
param | ) |
|
Referenced by GCS::ConstraintPointOnPerpBisector::grad(), GCS::ConstraintEllipseTangentLine::grad(), GCS::ConstraintInternalAlignmentPoint2Ellipse::grad(), GCS::ConstraintInternalAlignmentPoint2Hyperbola::grad(), GCS::ConstraintEqualMajorAxesConic::grad(), GCS::ConstraintEqualFocalDistance::grad(), GCS::ConstraintCurveValue::grad(), GCS::ConstraintPointOnParabola::grad(), GCS::ConstraintAngleViaPoint::grad(), GCS::ConstraintSnell::grad(), and GCS::ConstraintEqualLineLength::grad().
◆ getTag()
int GCS::Constraint::getTag |
( |
| ) |
|
◆ getTypeId()
Reimplemented in GCS::ConstraintEqual, GCS::ConstraintDifference, GCS::ConstraintP2PDistance, GCS::ConstraintP2PAngle, GCS::ConstraintP2LDistance, GCS::ConstraintPointOnLine, GCS::ConstraintPointOnPerpBisector, GCS::ConstraintParallel, GCS::ConstraintPerpendicular, GCS::ConstraintL2LAngle, GCS::ConstraintMidpointOnLine, GCS::ConstraintTangentCircumf, GCS::ConstraintPointOnEllipse, GCS::ConstraintEllipseTangentLine, GCS::ConstraintInternalAlignmentPoint2Ellipse, GCS::ConstraintInternalAlignmentPoint2Hyperbola, GCS::ConstraintEqualMajorAxesConic, GCS::ConstraintEqualFocalDistance, GCS::ConstraintCurveValue, GCS::ConstraintPointOnHyperbola, GCS::ConstraintPointOnParabola, GCS::ConstraintAngleViaPoint, GCS::ConstraintSnell, and GCS::ConstraintEqualLineLength.
◆ grad()
double GCS::Constraint::grad |
( |
double * |
| ) |
|
|
virtual |
Reimplemented in GCS::ConstraintEqual, GCS::ConstraintDifference, GCS::ConstraintP2PDistance, GCS::ConstraintP2PAngle, GCS::ConstraintP2LDistance, GCS::ConstraintPointOnLine, GCS::ConstraintPointOnPerpBisector, GCS::ConstraintParallel, GCS::ConstraintPerpendicular, GCS::ConstraintL2LAngle, GCS::ConstraintMidpointOnLine, GCS::ConstraintTangentCircumf, GCS::ConstraintPointOnEllipse, GCS::ConstraintEllipseTangentLine, GCS::ConstraintInternalAlignmentPoint2Ellipse, GCS::ConstraintInternalAlignmentPoint2Hyperbola, GCS::ConstraintEqualMajorAxesConic, GCS::ConstraintEqualFocalDistance, GCS::ConstraintCurveValue, GCS::ConstraintPointOnHyperbola, GCS::ConstraintPointOnParabola, GCS::ConstraintAngleViaPoint, GCS::ConstraintSnell, and GCS::ConstraintEqualLineLength.
◆ isDriving()
bool GCS::Constraint::isDriving |
( |
| ) |
const |
◆ maxStep()
double GCS::Constraint::maxStep |
( |
MAP_pD_D & |
dir, |
|
|
double |
lim = 1. |
|
) |
| |
|
virtual |
◆ params()
VEC_pD GCS::Constraint::params |
( |
| ) |
|
◆ redirectParams()
void GCS::Constraint::redirectParams |
( |
MAP_pD_pD |
redirectionmap | ) |
|
◆ rescale()
void GCS::Constraint::rescale |
( |
double |
coef = 1. | ) |
|
|
virtual |
Reimplemented in GCS::ConstraintEqual, GCS::ConstraintDifference, GCS::ConstraintP2PDistance, GCS::ConstraintP2PAngle, GCS::ConstraintP2LDistance, GCS::ConstraintPointOnLine, GCS::ConstraintPointOnPerpBisector, GCS::ConstraintParallel, GCS::ConstraintPerpendicular, GCS::ConstraintL2LAngle, GCS::ConstraintMidpointOnLine, GCS::ConstraintTangentCircumf, GCS::ConstraintPointOnEllipse, GCS::ConstraintEllipseTangentLine, GCS::ConstraintInternalAlignmentPoint2Ellipse, GCS::ConstraintInternalAlignmentPoint2Hyperbola, GCS::ConstraintEqualMajorAxesConic, GCS::ConstraintEqualFocalDistance, GCS::ConstraintCurveValue, GCS::ConstraintPointOnHyperbola, GCS::ConstraintPointOnParabola, GCS::ConstraintAngleViaPoint, GCS::ConstraintSnell, and GCS::ConstraintEqualLineLength.
◆ revertParams()
void GCS::Constraint::revertParams |
( |
| ) |
|
◆ setDriving()
void GCS::Constraint::setDriving |
( |
bool |
isdriving | ) |
|
Referenced by GCS::System::addConstraintAngleViaPoint(), GCS::System::addConstraintCurveValue(), GCS::System::addConstraintDifference(), GCS::System::addConstraintEqual(), GCS::System::addConstraintEqualFocus(), GCS::System::addConstraintEqualLength(), GCS::System::addConstraintEqualRadii(), GCS::System::addConstraintInternalAlignmentPoint2Ellipse(), GCS::System::addConstraintInternalAlignmentPoint2Hyperbola(), GCS::System::addConstraintL2LAngle(), GCS::System::addConstraintMidpointOnLine(), GCS::System::addConstraintP2LDistance(), GCS::System::addConstraintP2PAngle(), GCS::System::addConstraintP2PDistance(), GCS::System::addConstraintParallel(), GCS::System::addConstraintPerpendicular(), GCS::System::addConstraintPointOnEllipse(), GCS::System::addConstraintPointOnHyperbolicArc(), GCS::System::addConstraintPointOnLine(), GCS::System::addConstraintPointOnParabolicArc(), GCS::System::addConstraintPointOnPerpBisector(), GCS::System::addConstraintProportional(), GCS::System::addConstraintSnellsLaw(), GCS::System::addConstraintTangent(), and GCS::System::addConstraintTangentCircumf().
◆ setTag()
void GCS::Constraint::setTag |
( |
int |
tagId | ) |
|
Referenced by GCS::System::addConstraintAngleViaPoint(), GCS::System::addConstraintCurveValue(), GCS::System::addConstraintDifference(), GCS::System::addConstraintEqual(), GCS::System::addConstraintEqualFocus(), GCS::System::addConstraintEqualLength(), GCS::System::addConstraintEqualRadii(), GCS::System::addConstraintInternalAlignmentPoint2Ellipse(), GCS::System::addConstraintInternalAlignmentPoint2Hyperbola(), GCS::System::addConstraintL2LAngle(), GCS::System::addConstraintMidpointOnLine(), GCS::System::addConstraintP2LDistance(), GCS::System::addConstraintP2PAngle(), GCS::System::addConstraintP2PDistance(), GCS::System::addConstraintParallel(), GCS::System::addConstraintPerpendicular(), GCS::System::addConstraintPointOnEllipse(), GCS::System::addConstraintPointOnHyperbolicArc(), GCS::System::addConstraintPointOnLine(), GCS::System::addConstraintPointOnParabolicArc(), GCS::System::addConstraintPointOnPerpBisector(), GCS::System::addConstraintProportional(), GCS::System::addConstraintSnellsLaw(), GCS::System::addConstraintTangent(), and GCS::System::addConstraintTangentCircumf().
The documentation for this class was generated from the following files:
- FreeCAD/src/Mod/Sketcher/App/planegcs/Constraints.h
- FreeCAD/src/Mod/Sketcher/App/planegcs/Constraints.cpp