bookExamples.ch26Graphics.draw2d
Class SineCircleFcn

java.lang.Object
  extended by bookExamples.ch26Graphics.draw2d.SineCircleFcn
All Implemented Interfaces:
Fcn1

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


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
 

Constructor Detail

SineCircleFcn

public SineCircleFcn(double x1,
                     double y1,
                     double radius)
Method Detail

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