Class Funcion2

java.lang.Object
  extended by Funcion2
All Implemented Interfaces:
Funcion

public class Funcion2
extends Object
implements Funcion

Una funcion parametrica con 2 argumentos en el constructor.

Version:
Nov 22, 2010
Author:
Jose A. Manas

Constructor Summary
Funcion2(double a, double b)
          Constructor.
 
Method Summary
 double fx(double t)
          Valor de X en función de t.
 double fy(double t)
          Valor de Y en función de t.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Funcion2

public Funcion2(double a,
                double b)
Constructor.

Parameters:
a - argumento 1.
b - argumento 2.
Method Detail

fx

public double fx(double t)
Valor de X en función de t.

Specified by:
fx in interface Funcion
Parameters:
t - parametro.
Returns:
x(t).

fy

public double fy(double t)
Valor de Y en función de t.

Specified by:
fy in interface Funcion
Parameters:
t - parametro.
Returns:
y(t).