CIvfLine2d Class Reference

#include <ivfmath/IvfFunctions.h>

Inheritance diagram for CIvfLine2d:

CIvfFunction2d CIvfMathBase List of all members.

Public Member Functions

 CIvfLine2d (double x1, double y1, double x2, double y2)
 CIvfLine2d ()
 IvfClassInfo ("CIvfLine2d", CIvfFunction2d)
 CIvfLine2d (double k, double m)
virtual double f (double x)

Detailed Description

2D line function

Implements a 2d line, based on f(x) = kx + m.

Author:
Jonas Lindemann

Definition at line 73 of file IvfFunctions.h.


Constructor & Destructor Documentation

CIvfLine2d::CIvfLine2d double  x1,
double  y1,
double  x2,
double  y2
 

CIvfLine constructor

Initialises line by to points on line (x1, y1) and (x2, y2)

CIvfLine2d::CIvfLine2d  ) 
 

CIvfLine2d constructor

Inititialises line to f(x) = x

CIvfLine2d::CIvfLine2d double  k,
double  m
 

CIvfLine2d constructor

Initialises line using k and m


Member Function Documentation

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

Returns line function value

Implements CIvfFunction2d.


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