Interface EDU.emporia.mathtools.Graphable
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Interface EDU.emporia.mathtools.Graphable

public abstract interface Graphable
This Interface should be used by any class to allow it to be graphed on the MathGrapher.

Version:
1.1
Author:
Joe Yanik, Chuck Pheatt
Since:
3/1/00
See Also:
MathFunction

Method Index

 o getPoint(double)
Returns the point that corresponds to the parameter
 o getPoints(double, double, int)
Returns an array of points that can be used in constructing a graph.
 o getPoints(double, double, double)
Returns and array of points that can be used in graphing the curve
 o getTitle()
Provides a title for the Graphable object that will be displayed on the coordinate system when it is selected.

Methods

 o getPoint
public abstract EDU.emporia.mathtools.Point2D getPoint(double u) throws Graphable_error
Returns the point that corresponds to the parameter

Parameters:
u - The parameter
Returns:
The point occurring at the parameter
Throws: Graphable_error
 o getPoints
public abstract EDU.emporia.mathtools.Point2D[] getPoints(double uMin,
                                                          double uMax,
                                                          int numberOfPoints) throws Graphable_error
Returns an array of points that can be used in constructing a graph.

Parameters:
uMin - The lowest parameter for constructing the array.
uMax - The highest parameter for constructing the array
numberOfPoints - The number of points in the array
Returns:
An array of points on the graph corresponding to equally spaced parameters
Throws: Graphable_error
 o getPoints
public abstract EDU.emporia.mathtools.Point2D[] getPoints(double uMin,
                                                          double uMax,
                                                          double delta) throws Graphable_error
Returns and array of points that can be used in graphing the curve

Parameters:
uMin - The lowest parameter used to construct the array
uMax - The highest parameter used to construct the array
Returns:
An array of points constructing using parameters between uMin and uMax spaced delta units apart
Throws: Graphable_error
 o getTitle
public abstract java.lang.String getTitle()
Provides a title for the Graphable object that will be displayed on the coordinate system when it is selected.

Returns:
The title for the Graphable object.

All Packages  Class Hierarchy  This Package  Previous  Next  Index