|
Isis 3 Programmer Reference
|
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;
LineEquation()
Constructors.
double Intercept()
Compute the intercept of the line.
std::vector< double > p_y
Dependent variables.
bool p_defined
Variable indicating if line is defined yet.
Utility class for creating and using cartesean line equations.
void AddPoint(double x, double y)
Add a point to the object.
std::vector< double > p_x
Independent variables.
~LineEquation()
Destroys the LineEquation object.
bool p_interceptDefined
Variable indicating if intercept is defined yet.
bool p_slopeDefined
Variable indicating if slope is defined yet.
double Slope()
Compute the slope of the line.
This is free and unencumbered software released into the public domain.