33      LineEquation(
double x1, 
double y1, 
double x2, 
double y2);
 
   44        return p_slopeDefined;
 
   47        return p_interceptDefined;
 
   54      std::vector<double> p_x;       
 
   55      std::vector<double> p_y;       
 
   58      bool p_interceptDefined;  
 
Utility class for creating and using cartesean line equations.
Definition: LineEquation.h:29
 
double Slope()
Compute the slope of the line.
Definition: LineEquation.cpp:66
 
void AddPoint(double x, double y)
Add a point to the object.
Definition: LineEquation.cpp:51
 
bool HaveSlope()
Definition: LineEquation.h:43
 
bool Defined()
Definition: LineEquation.h:49
 
LineEquation()
Constructors.
Definition: LineEquation.cpp:19
 
int Points()
Definition: LineEquation.h:40
 
~LineEquation()
Destroys the LineEquation object.
Definition: LineEquation.h:36
 
double Intercept()
Compute the intercept of the line.
Definition: LineEquation.cpp:87
 
bool HaveIntercept()
Definition: LineEquation.h:46
 
This is free and unencumbered software released into the public domain.
Definition: Apollo.h:16