bookExamples.ch26Graphics.draw2d
Class SineCircleFcn
java.lang.Object
bookExamples.ch26Graphics.draw2d.SineCircleFcn
- All Implemented Interfaces:
- Fcn1, java.io.Serializable
public class SineCircleFcn
- extends java.lang.Object
- implements Fcn1
DocJava, Inc.
http://www.docjava.com
Programmer: dlyon
Date: Oct 20, 2004
Time: 7:16:00 PM
- See Also:
- Serialized Form
Constructor Summary |
SineCircleFcn(double x1,
double y1,
double radius)
|
Method Summary |
java.awt.geom.Point2D |
getPoint(double t)
Fcn of one variable that returns
a locus of points |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SineCircleFcn
public SineCircleFcn(double x1,
double y1,
double radius)
getPoint
public java.awt.geom.Point2D getPoint(double t)
- Description copied from interface:
Fcn1
- Fcn of one variable that returns
a locus of points
- Specified by:
getPoint
in interface Fcn1
- Parameters:
t
- - ranging from 0 to 1 inclusive
- Returns:
- a point on the function