GCS::ConstraintEqualFocalDistance Class Reference

#include <Constraints.h>

Public Member Functions

 ConstraintEqualFocalDistance (ArcOfParabola *a1, ArcOfParabola *a2)
 
virtual double error ()
 
virtual ConstraintType getTypeId ()
 
virtual double grad (double *)
 
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

◆ ConstraintEqualFocalDistance()

GCS::ConstraintEqualFocalDistance::ConstraintEqualFocalDistance ( ArcOfParabola a1,
ArcOfParabola a2 
)

Member Function Documentation

◆ error()

double GCS::ConstraintEqualFocalDistance::error ( )
virtual

◆ getTypeId()

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

Reimplemented from GCS::Constraint.

References GCS::EqualFocalDistance.

◆ grad()

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

Reimplemented from GCS::Constraint.

References GCS::Constraint::findParamInPvec().

◆ rescale()

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

Reimplemented from GCS::Constraint.

Referenced by ConstraintEqualFocalDistance().


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