GCS::ConstraintP2LDistance Class Reference

#include <Constraints.h>

Public Member Functions

double abs (double darea)
 ConstraintP2LDistance (Point &p, Line &l, 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.)
- Public Member Functions inherited from GCS::Constraint
 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

◆ ConstraintP2LDistance()

GCS::ConstraintP2LDistance::ConstraintP2LDistance ( Point p,
Line l,
double *  d 

References rescale().

Member Function Documentation

◆ abs()

double GCS::ConstraintP2LDistance::abs ( double  darea)

◆ error()

double GCS::ConstraintP2LDistance::error ( )

◆ getTypeId()

ConstraintType GCS::ConstraintP2LDistance::getTypeId ( void  )

Reimplemented from GCS::Constraint.

References GCS::P2LDistance.

◆ grad()

double GCS::ConstraintP2LDistance::grad ( double *  param)

Reimplemented from GCS::Constraint.

◆ maxStep()

double GCS::ConstraintP2LDistance::maxStep ( MAP_pD_D dir,
double  lim = 1. 

Reimplemented from GCS::Constraint.

◆ rescale()

void GCS::ConstraintP2LDistance::rescale ( double  coef = 1.)

Reimplemented from GCS::Constraint.

Referenced by ConstraintP2LDistance().

The documentation for this class was generated from the following files:
  • Sources/FreeCAD/src/Mod/Sketcher/App/planegcs/Constraints.h
  • Sources/FreeCAD/src/Mod/Sketcher/App/planegcs/Constraints.cpp