CIvfEnvelope2d Class Reference

#include <ivfmath/IvfFunctions.h>

Inheritance diagram for CIvfEnvelope2d:

CIvfFunction2d CIvfMathBase List of all members.

Public Member Functions

 CIvfEnvelope2d ()
virtual ~CIvfEnvelope2d ()
 IvfClassInfo ("CIvfEnvelope2d", CIvfFunction2d)
void addPoint (double x, double y)
void finish ()
void clear ()
double getMinX ()
double getMaxX ()
virtual double f (double x)

Detailed Description

2d envelope function

Implements a linear 2d envelope function defined using a set of 2d points.

Author:
Jonas Lindemann

Definition at line 221 of file IvfFunctions.h.


Constructor & Destructor Documentation

CIvfEnvelope2d::CIvfEnvelope2d  ) 
 

CIvfEnvelope2d constructor

virtual CIvfEnvelope2d::~CIvfEnvelope2d  )  [virtual]
 

CIvfEnvelope2d destructor


Member Function Documentation

void CIvfEnvelope2d::addPoint double  x,
double  y
 

Adds a point to envelope (required)

void CIvfEnvelope2d::clear  ) 
 

Clears envelope function

virtual double CIvfEnvelope2d::f double  x  )  [virtual]
 

Envelope function value

Implements CIvfFunction2d.

void CIvfEnvelope2d::finish  ) 
 

Finish envelope definition (required)

When all points have been added to the envelope function the finish() method must be called to sort the envelope points and enable fast lookup of envelope break points.

double CIvfEnvelope2d::getMaxX  ) 
 

Returns maximum x position of envelope function

double CIvfEnvelope2d::getMinX  ) 
 

Returns minimum x position of envelope function


The documentation for this class was generated from the following file:
Generated on Fri Sep 1 15:36:50 2006 for Interactive Visualisation Framework - Ivf++ by  doxygen 1.4.6-NO