#include <ivfmath/IvfFunctions.h>
Inheritance diagram for CIvfLine2d:
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) |
Implements a 2d line, based on f(x) = kx + m.
Definition at line 73 of file IvfFunctions.h.
|
CIvfLine constructor Initialises line by to points on line (x1, y1) and (x2, y2) |
|
CIvfLine2d constructor Inititialises line to f(x) = x |
|
CIvfLine2d constructor Initialises line using k and m |
|
Returns line function value Implements CIvfFunction2d. |