33      LineEquation(
double x1, 
double y1, 
double x2, 
double y2);
 
   46      bool HaveIntercept() {
 
   54      std::vector<double> 
p_x;       
 
   55      std::vector<double> 
p_y;       
 
 
bool p_interceptDefined
Variable indicating if intercept is defined yet.
 
double Slope()
Compute the slope of the line.
 
void AddPoint(double x, double y)
Add a point to the object.
 
bool p_slopeDefined
Variable indicating if slope is defined yet.
 
bool p_defined
Variable indicating if line is defined yet.
 
std::vector< double > p_x
Independent variables.
 
LineEquation()
Constructors.
 
~LineEquation()
Destroys the LineEquation object.
 
double Intercept()
Compute the intercept of the line.
 
std::vector< double > p_y
Dependent variables.
 
This is free and unencumbered software released into the public domain.