#include <Constraints.h>
Public Member Functions | |
ConstraintSnell (Curve &ray1, Curve &ray2, Curve &boundary, Point p, double *n1, double *n2, bool flipn1, bool flipn2) | |
virtual double | error () |
virtual ConstraintType | getTypeId () |
virtual double | grad (double *) |
virtual void | rescale (double coef=1.) |
~ConstraintSnell () | |
Public Member Functions inherited from GCS::Constraint | |
Constraint () | |
virtual double | error () |
int | findParamInPvec (double *param) |
int | getTag () |
virtual ConstraintType | getTypeId () |
virtual double | grad (double *) |
bool | isDriving () const |
virtual double | maxStep (MAP_pD_D &dir, double lim=1.) |
VEC_pD | params () |
void | redirectParams (MAP_pD_pD redirectionmap) |
virtual void | rescale (double coef=1.) |
void | revertParams () |
void | setDriving (bool isdriving) |
void | setTag (int tagId) |
virtual | ~Constraint () |
GCS::ConstraintSnell::ConstraintSnell | ( | Curve & | ray1, |
Curve & | ray2, | ||
Curve & | boundary, | ||
Point | p, | ||
double * | n1, | ||
double * | n2, | ||
bool | flipn1, | ||
bool | flipn2 | ||
) |
References GCS::Curve::Copy(), GCS::Curve::PushOwnParams(), and rescale().
GCS::ConstraintSnell::~ConstraintSnell | ( | ) |
|
virtual |
Reimplemented from GCS::Constraint.
Referenced by grad(), femmesh.gmshtools.GmshTools::read_and_set_new_mesh(), FreeCADInit.FCADLogger::report(), and femmesh.gmshtools.GmshTools::run_gmsh_with_geo().
|
virtual |
Reimplemented from GCS::Constraint.
References GCS::Snell.
|
virtual |
Reimplemented from GCS::Constraint.
References error(), GCS::Constraint::findParamInPvec(), and draftguitools.gui_annotationstyleeditor::param.
|
virtual |
Reimplemented from GCS::Constraint.
Referenced by ConstraintSnell().