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 ()
 
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 ()
 

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 ( )
virtual

◆ getTypeId()

ConstraintType GCS::ConstraintP2LDistance::getTypeId ( void  )
virtual

Reimplemented from GCS::Constraint.

References GCS::P2LDistance.

◆ grad()

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

Reimplemented from GCS::Constraint.

◆ maxStep()

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

Reimplemented from GCS::Constraint.

◆ rescale()

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

Reimplemented from GCS::Constraint.

Referenced by ConstraintP2LDistance().


The documentation for this class was generated from the following files: